From 758b6a8fe39c2ca45ab9d7e33bf98ac9f5979113 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sun, 16 Jan 2005 05:04:44 +0000 Subject: New port Sockets version 1.7.1: A C++ wrapper for BSD-style sockets --- net/Sockets-devel/files/patch-Sockets-config.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 net/Sockets-devel/files/patch-Sockets-config.cpp (limited to 'net/Sockets-devel/files/patch-Sockets-config.cpp') 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 ++#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"); -- cgit v1.2.3