From 4a5904d7817431abfbadaa24fbe7a0b2eddcf888 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 10 Oct 2005 17:19:51 +0000 Subject: Include errno.h and only define errno if that doesn't do the trick. --- lang/guile/distinfo | 3 ++- lang/guile/patches/patch-aj | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 lang/guile/patches/patch-aj (limited to 'lang') 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 ++ ++#if !defined (MSDOS) && !defined (__MINGW32__) && !defined(errno) + # ifdef ARM_ULIB + extern volatile int errno; + # else -- cgit v1.2.3