diff options
author | joerg <joerg@pkgsrc.org> | 2005-10-10 17:19:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-10-10 17:19:51 +0000 |
commit | e1dc87c8ca43e9872eb31a9aaa82d45596844d5d (patch) | |
tree | 8c226edb3b27e633eb2e9a78091cb59c45661cc4 /lang/guile | |
parent | 39d2b5e2b6438401892fbdf20ecf5b139d91884b (diff) | |
download | pkgsrc-e1dc87c8ca43e9872eb31a9aaa82d45596844d5d.tar.gz |
Include errno.h and only define errno if that doesn't do the trick.
Diffstat (limited to 'lang/guile')
-rw-r--r-- | lang/guile/distinfo | 3 | ||||
-rw-r--r-- | lang/guile/patches/patch-aj | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/guile/distinfo b/lang/guile/distinfo index bdfe49a3cc8..03e0418eb0f 100644 --- a/lang/guile/distinfo +++ b/lang/guile/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.23 2005/02/24 09:03:08 agc Exp $ +$NetBSD: distinfo,v 1.24 2005/10/10 17:19:51 joerg Exp $ SHA1 (guile-1.6.7.tar.gz) = 00a82dc4c7c19f9b791e116a2baf83e7d0c0856d RMD160 (guile-1.6.7.tar.gz) = 63d45e8143834c641d4a4732cfbb34e8984f55dd @@ -9,3 +9,4 @@ SHA1 (patch-af) = 96b50d3cff86a7ba7a76551723192ad99a07b971 SHA1 (patch-ag) = a4b5f490e9c9520120bcb2824004cb8bfa1027e1 SHA1 (patch-ah) = e66596a5ecc5c2d4fd09833507499b4d02c7af8a SHA1 (patch-ai) = 3343ea669fa05c93a2af5a75cf9da5a04d068273 +SHA1 (patch-aj) = 2d55986fd8161bdc32c6e2ef7fe3d89310ab20cd diff --git a/lang/guile/patches/patch-aj b/lang/guile/patches/patch-aj new file mode 100644 index 00000000000..613bed2c631 --- /dev/null +++ b/lang/guile/patches/patch-aj @@ -0,0 +1,15 @@ +$NetBSD: patch-aj,v 1.1 2005/10/10 17:19:51 joerg Exp $ + +--- libguile/_scm.h.orig 2005-09-05 16:15:00.000000000 +0200 ++++ libguile/_scm.h +@@ -111,7 +111,9 @@ + # define SCM_SYSCALL(line) line; + #endif /* ndef SCM_SYSCALL */ + +-#if !defined (MSDOS) && !defined (__MINGW32__) ++#include <errno.h> ++ ++#if !defined (MSDOS) && !defined (__MINGW32__) && !defined(errno) + # ifdef ARM_ULIB + extern volatile int errno; + # else |