From 518e195826dfd3f0f9b5493adb2c6a13214c855b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 4 Oct 1998 15:59:44 +0000 Subject: Explicitly define unix=1 in slang.h on NetBSD. --- devel/libslang/patches/patch-ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devel/libslang/patches/patch-ac (limited to 'devel/libslang') 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 -- cgit v1.2.3