pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/guile Include errno.h and only define errno if th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9fabdf7a0f35
branches:  trunk
changeset: 500585:9fabdf7a0f35
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 10 17:19:51 2005 +0000

description:
Include errno.h and only define errno if that doesn't do the trick.

diffstat:

 lang/guile/distinfo         |   3 ++-
 lang/guile/patches/patch-aj |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 8ea004089e00 -r 9fabdf7a0f35 lang/guile/distinfo
--- a/lang/guile/distinfo       Mon Oct 10 17:18:55 2005 +0000
+++ b/lang/guile/distinfo       Mon Oct 10 17:19:51 2005 +0000
@@ -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-ag) = a4b5f490e9c9520120bcb2824004cb8bfa1027e1
 SHA1 (patch-ah) = e66596a5ecc5c2d4fd09833507499b4d02c7af8a
 SHA1 (patch-ai) = 3343ea669fa05c93a2af5a75cf9da5a04d068273
+SHA1 (patch-aj) = 2d55986fd8161bdc32c6e2ef7fe3d89310ab20cd
diff -r 8ea004089e00 -r 9fabdf7a0f35 lang/guile/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/guile/patches/patch-aj       Mon Oct 10 17:19:51 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index