Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 13:07:44 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312058 - in head/devel/clanlib: . files
Message-ID:  <201302111307.r1BD7iOR000945@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302111307.r1BD7iOR000945>