diff options
author | tv <tv@pkgsrc.org> | 1998-10-04 15:59:44 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-10-04 15:59:44 +0000 |
commit | 518e195826dfd3f0f9b5493adb2c6a13214c855b (patch) | |
tree | f84684c79de8ab8482473d7b31e9c98ef979f4fd /devel/libslang | |
parent | 1e43e89d5f655506f784a035251115fb91c805b3 (diff) | |
download | pkgsrc-518e195826dfd3f0f9b5493adb2c6a13214c855b.tar.gz |
Explicitly define unix=1 in slang.h on NetBSD.
Diffstat (limited to 'devel/libslang')
-rw-r--r-- | devel/libslang/patches/patch-ac | 16 |
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..3f688697f55 --- /dev/null +++ b/devel/libslang/patches/patch-ac @@ -0,0 +1,16 @@ +$NetBSD: patch-ac,v 1.1 1998/10/04 15:59:44 tv Exp $ + +--- src/slang.h.orig Sun Oct 4 11:58:47 1998 ++++ src/slang.h Sun Oct 4 11:59:07 1998 +@@ -22,6 +22,11 @@ + # endif + #endif /* __watcomc__ */ + ++#ifdef __NetBSD__ ++#undef unix ++#define unix 1 ++#endif ++ + #ifdef unix + # ifndef __unix__ + # define __unix__ 1 |