diff options
Diffstat (limited to 'lang/ruby18-base/patches/patch-ax')
-rw-r--r-- | lang/ruby18-base/patches/patch-ax | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ruby18-base/patches/patch-ax b/lang/ruby18-base/patches/patch-ax new file mode 100644 index 00000000000..de226636477 --- /dev/null +++ b/lang/ruby18-base/patches/patch-ax @@ -0,0 +1,13 @@ +$NetBSD: patch-ax,v 1.1 2005/09/18 13:38:50 taca Exp $ + +--- ext/sdbm/_sdbm.c.orig 2005-07-15 16:18:36.000000000 +0000 ++++ ext/sdbm/_sdbm.c +@@ -103,7 +103,7 @@ static int duppair proto((char *, datu + /* + * externals + */ +-#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__ ++#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__ && !defined(errno) + extern int errno; + #endif + |