summaryrefslogtreecommitdiff
path: root/lang/guile14/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-02 23:53:42 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-02 23:53:42 +0000
commited183a59f0b05ce0d74b51722aed8a9d78c1a6f3 (patch)
treef40e8ed3028d6a1e2002bc12289ad8a45a372faa /lang/guile14/patches
parente03d0524a965ac945a168aa668eac07f83401887 (diff)
downloadpkgsrc-ed183a59f0b05ce0d74b51722aed8a9d78c1a6f3.tar.gz
de-extern-errno
Diffstat (limited to 'lang/guile14/patches')
-rw-r--r--lang/guile14/patches/patch-ac19
-rw-r--r--lang/guile14/patches/patch-af14
-rw-r--r--lang/guile14/patches/patch-ag21
3 files changed, 54 insertions, 0 deletions
diff --git a/lang/guile14/patches/patch-ac b/lang/guile14/patches/patch-ac
new file mode 100644
index 00000000000..afd3980d949
--- /dev/null
+++ b/lang/guile14/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2005/12/02 23:53:42 joerg Exp $
+
+--- libguile/_scm.h.orig 2005-12-02 23:24:31.000000000 +0000
++++ libguile/_scm.h
+@@ -114,14 +114,6 @@
+ # define SCM_SYSCALL(line) line;
+ #endif /* ndef SCM_SYSCALL */
+
+-#ifndef MSDOS
+-# ifdef ARM_ULIB
+- extern volatile int errno;
+-# else
+- extern int errno;
+-# endif /* def ARM_ULIB */
+-#endif /* ndef MSDOS */
+-
+
+
+ #ifndef min
diff --git a/lang/guile14/patches/patch-af b/lang/guile14/patches/patch-af
new file mode 100644
index 00000000000..bf1f6f79fa8
--- /dev/null
+++ b/lang/guile14/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2005/12/02 23:53:42 joerg Exp $
+
+--- libguile/error.c.orig 2005-12-02 23:35:45.000000000 +0000
++++ libguile/error.c
+@@ -64,9 +64,6 @@
+ /* {Errors and Exceptional Conditions}
+ */
+
+-
+-extern int errno;
+-
+ /* All errors should pass through here. */
+ void
+ scm_error (SCM key, const char *subr, const char *message, SCM args, SCM rest)
diff --git a/lang/guile14/patches/patch-ag b/lang/guile14/patches/patch-ag
new file mode 100644
index 00000000000..883698bec99
--- /dev/null
+++ b/lang/guile14/patches/patch-ag
@@ -0,0 +1,21 @@
+$NetBSD: patch-ag,v 1.1 2005/12/02 23:53:42 joerg Exp $
+
+--- libguile/stime.c.orig 2002-05-04 02:16:15.000000000 +0000
++++ libguile/stime.c
+@@ -54,6 +54,7 @@
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
++#include <string.h>
+
+
+ # ifdef HAVE_SYS_TYPES_H
+@@ -123,8 +124,6 @@ long mytime()
+ # endif
+ #endif
+
+-extern int errno;
+-
+ #ifdef HAVE_FTIME
+ struct timeb scm_your_base = {0};
+ #else