diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-01-16 05:04:44 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-01-16 05:04:44 +0000 |
commit | 758b6a8fe39c2ca45ab9d7e33bf98ac9f5979113 (patch) | |
tree | 76084517eebd0d15621db1b4840a05ef58fcb790 /net/Sockets-devel/files/patch-Sockets-config.cpp | |
parent | Update to 1.3.19. See http://galeon.sourceforge.net/Main/GaleonRelease1319 (diff) |
New port Sockets version 1.7.1: A C++ wrapper for BSD-style sockets
Notes
Notes:
svn path=/head/; revision=126544
Diffstat (limited to 'net/Sockets-devel/files/patch-Sockets-config.cpp')
-rw-r--r-- | net/Sockets-devel/files/patch-Sockets-config.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/Sockets-devel/files/patch-Sockets-config.cpp b/net/Sockets-devel/files/patch-Sockets-config.cpp new file mode 100644 index 000000000000..c53e3270e418 --- /dev/null +++ b/net/Sockets-devel/files/patch-Sockets-config.cpp @@ -0,0 +1,23 @@ +--- Sockets-config.cpp.orig Sun Jan 16 02:23:14 2005 ++++ Sockets-config.cpp Sun Jan 16 02:26:07 2005 +@@ -3,6 +3,10 @@ + CFLAGS = -Wall -g -O2 $(INCLUDE) -MD -D_VERSION='"$(VERSION)"' + # manual autoconf .... + ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ + # uncomment if your operating system is linux, mac os x, or solaris + #CFLAGS += -DLINUX + #CFLAGS += -DMACOSX +@@ -19,6 +23,9 @@ + printf(" -D_VERSION='\"%s\"'", _VERSION); + #ifdef LINUX + printf(" -DLINUX"); ++#endif ++#if defined __FreeBSD__ ++ printf(" -DFREEBSD"); + #endif + #ifdef MACOSX + printf(" -DMACOSX"); |