summaryrefslogtreecommitdiff
path: root/games/plib/patches
diff options
context:
space:
mode:
Diffstat (limited to 'games/plib/patches')
-rw-r--r--games/plib/patches/patch-ad14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/plib/patches/patch-ad b/games/plib/patches/patch-ad
new file mode 100644
index 00000000000..0be169ec53c
--- /dev/null
+++ b/games/plib/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.3 2004/03/19 02:25:28 xtraeme Exp $
+
+--- src/sl/slPortability.h.orig 2004-03-19 03:18:23.000000000 +0100
++++ src/sl/slPortability.h 2004-03-19 03:19:02.000000000 +0100
+@@ -35,7 +35,8 @@
+
+ /* the next lines are to define BSD */
+ /* see http://www.freebsd.org/handbook/porting.html for why we do this */
+-#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) \
++ && !defined(USG)
+ #include <sys/param.h>
+ #endif
+