summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Danya Dietrich <kito@gentoo.org>2005-08-07 18:57:18 +0000
committerKito Danya Dietrich <kito@gentoo.org>2005-08-07 18:57:18 +0000
commitd0d665c6d36fa121426efbded495fcdaace878e2 (patch)
tree55d2af2a0403af966bdae1cab1e7729c0fc76eac /dev-util/guile/files
parentAdding server USE flag (diff)
downloadhistorical-d0d665c6d36fa121426efbded495fcdaace878e2.tar.gz
historical-d0d665c6d36fa121426efbded495fcdaace878e2.tar.bz2
historical-d0d665c6d36fa121426efbded495fcdaace878e2.zip
updated patches or gcc4/Darwin8
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-util/guile/files')
-rw-r--r--dev-util/guile/files/guile-1.6.7-posix.patch16
-rw-r--r--dev-util/guile/files/guile-1.6.7-scmsigs.patch11
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/guile/files/guile-1.6.7-posix.patch b/dev-util/guile/files/guile-1.6.7-posix.patch
new file mode 100644
index 000000000000..a4cd2bcaef51
--- /dev/null
+++ b/dev-util/guile/files/guile-1.6.7-posix.patch
@@ -0,0 +1,16 @@
+--- libguile/posix.c.sav Tue Jan 25 19:01:44 2005
++++ libguile/posix.c Tue Jan 25 19:01:55 2005
+@@ -1257,6 +1257,13 @@
+ SCM_MEMORY_ERROR;
+ strncpy (ptr, SCM_STRING_CHARS (str), SCM_STRING_LENGTH (str));
+ ptr[SCM_STRING_LENGTH (str)] = 0;
++#if defined(macosx)
++ if (!strchr(ptr, '=')) {
++ unsetenv(ptr);
++ rv = 0;
++ }
++ else
++#endif
+ rv = putenv (ptr);
+ if (rv < 0)
+ SCM_SYSERROR;
diff --git a/dev-util/guile/files/guile-1.6.7-scmsigs.patch b/dev-util/guile/files/guile-1.6.7-scmsigs.patch
new file mode 100644
index 000000000000..65b5b52c3dc7
--- /dev/null
+++ b/dev-util/guile/files/guile-1.6.7-scmsigs.patch
@@ -0,0 +1,11 @@
+--- libguile/scmsigs.c.sav Tue Feb 11 22:07:54 2003
++++ libguile/scmsigs.c Tue Feb 11 22:08:18 2003
+@@ -66,7 +66,7 @@
+ /* The thread system has its own sleep and usleep functions. */
+ #ifndef USE_THREADS
+
+-#if defined(MISSING_SLEEP_DECL)
++#if defined(MISSING_SLEEP_DECL) && ! defined(macosx)
+ int sleep ();
+ #endif
+