freebsd-ports/games/tenebrae/files/patch-net.h
Alejandro Pulver dc044fd8e7 - Fix mouse problems.
- Fix sound problems.
- Fix building on !i386.
- Fix writting personal configuration, and do it in ~/.tenebrae, to avoid
  conflicts with other engines since they usually have different variables.
- Use USE_DOS2UNIX.
- Remove unneeded information from pkg-message (it depends on quake-data so it
  will be installed automatically, also quake-data installs the demo so
  tenebrae is playable after installation).
- Use release target instead of the debug one.
- Clean-up.

PR:		ports/98783
Approved by:	maintainer (timeout)
2006-06-17 21:32:32 +00:00

11 lines
416 B
C

--- ./net.h.orig Sat Jun 10 12:08:13 2006
+++ ./net.h Sat Jun 10 12:08:13 2006
@@ -239,7 +239,7 @@
extern int hostCacheCount;
extern hostcache_t hostcache[HOSTCACHESIZE];
-#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__)
+#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__) && !defined (__FreeBSD__)
#ifndef htonl
extern unsigned long htonl (unsigned long hostlong);
#endif