svn commit: r312058 - in head/devel/clanlib: . files

Pietro Cerutti gahr at FreeBSD.org
Mon Feb 11 13:07:45 UTC 2013


Author: gahr
Date: Mon Feb 11 13:07:44 2013
New Revision: 312058
URL: http://svnweb.freebsd.org/changeset/ports/312058

Log:
  - Fix build
  - While at it, get rid of PTHREAD_ variables

Added:
  head/devel/clanlib/files/patch-Sources__Network__Socket__socket_name.cpp   (contents, props changed)
Modified:
  head/devel/clanlib/Makefile

Modified: head/devel/clanlib/Makefile
==============================================================================
--- head/devel/clanlib/Makefile	Mon Feb 11 12:41:31 2013	(r312057)
+++ head/devel/clanlib/Makefile	Mon Feb 11 13:07:44 2013	(r312058)
@@ -33,8 +33,8 @@ USE_PKGCONFIG=	yes
 USE_SQLITE=	yes
 MAKE_JOBS_SAFE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
+LDFLAGS+=	-L${LOCALBASE}/lib
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-docs \
 		--enable-clanDisplay \

Added: head/devel/clanlib/files/patch-Sources__Network__Socket__socket_name.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/clanlib/files/patch-Sources__Network__Socket__socket_name.cpp	Mon Feb 11 13:07:44 2013	(r312058)
@@ -0,0 +1,10 @@
+--- ./Sources/Network/Socket/socket_name.cpp.orig	2013-02-11 14:02:51.000000000 +0100
++++ ./Sources/Network/Socket/socket_name.cpp	2013-02-11 14:04:33.000000000 +0100
+@@ -34,6 +34,7 @@
+ #ifdef WIN32
+ typedef unsigned long in_addr_t;
+ #else
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>


More information about the svn-ports-head mailing list