summaryrefslogtreecommitdiff
path: root/games/quake/patches/patch-ap
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-27 03:36:14 +0000
committerwiz <wiz>2000-12-27 03:36:14 +0000
commit5c17c807b03cccf5a77c3787d6d04d4f13bd17b4 (patch)
tree8e2f25662d7beed00a66eb72d424791f7e23b26b /games/quake/patches/patch-ap
parent8254e9f16df666215d7d3c1926f8f9e6af631f7e (diff)
downloadpkgsrc-5c17c807b03cccf5a77c3787d6d04d4f13bd17b4.tar.gz
Remove a compilation warning.
Diffstat (limited to 'games/quake/patches/patch-ap')
-rw-r--r--games/quake/patches/patch-ap13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/quake/patches/patch-ap b/games/quake/patches/patch-ap
new file mode 100644
index 00000000000..bdff213c0de
--- /dev/null
+++ b/games/quake/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1 2000/12/27 03:36:14 wiz Exp $
+
+--- WinQuake/net.h.orig Tue Dec 21 15:54:20 1999
++++ WinQuake/net.h
+@@ -238,7 +238,7 @@
+ extern int hostCacheCount;
+ extern hostcache_t hostcache[HOSTCACHESIZE];
+
+-#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__)
++#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__) && !defined (__NetBSD__)
+ #ifndef htonl
+ extern unsigned long htonl (unsigned long hostlong);
+ #endif