summaryrefslogtreecommitdiff
path: root/devel/libslang/patches
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2000-01-09 02:28:53 +0000
committermjl <mjl@pkgsrc.org>2000-01-09 02:28:53 +0000
commit54be6f9efa54c07407452be53cb09c0154d91e62 (patch)
tree3545f4cfb281dd0c37ff56c1bed4e6a64f70a52d /devel/libslang/patches
parentf8ef00c6a4bcedee828188a299c578d085a74e9b (diff)
downloadpkgsrc-54be6f9efa54c07407452be53cb09c0154d91e62.tar.gz
Resurrect patch-ac, which is needed after all for libslang clients
like mc.
Diffstat (limited to 'devel/libslang/patches')
-rw-r--r--devel/libslang/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/libslang/patches/patch-ac b/devel/libslang/patches/patch-ac
new file mode 100644
index 00000000000..4d444fd0f43
--- /dev/null
+++ b/devel/libslang/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.4 2000/01/09 02:28:54 mjl Exp $
+
+--- src/slang.h.orig Sun Jan 9 03:08:35 2000
++++ src/slang.h Sun Jan 9 03:09:44 2000
+@@ -24,6 +24,11 @@
+ # endif
+ #endif /* __watcomc__ */
+
++#ifdef __NetBSD__
++#undef unix
++#define unix 1
++#endif
++
+ #if defined(unix) || defined(__unix)
+ # ifndef __unix__
+ # define __unix__ 1