svn commit: r399175 - in head/devel/clanlib22: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 13 03:50:35 UTC 2015
Author: amdmi3
Date: Tue Oct 13 03:50:33 2015
New Revision: 399175
URL: https://svnweb.freebsd.org/changeset/ports/399175
Log:
- Don't specify protocol in socketpair(AF_UNIX, SOCK_DGRAM, ...), otherwise it fails with EPROTONOSUPPORT
MFH: 2015Q4
Added:
head/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp (contents, props changed)
Modified:
head/devel/clanlib22/Makefile
Modified: head/devel/clanlib22/Makefile
==============================================================================
--- head/devel/clanlib22/Makefile Tue Oct 13 03:50:28 2015 (r399174)
+++ head/devel/clanlib22/Makefile Tue Oct 13 03:50:33 2015 (r399175)
@@ -3,7 +3,7 @@
PORTNAME= clanlib
PORTVERSION= 2.2.12
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= http://www.clanlib.org/download/releases-2.0/
DISTNAME= ClanLib-${PORTVERSION}
Added: head/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp Tue Oct 13 03:50:33 2015 (r399175)
@@ -0,0 +1,11 @@
+--- Sources/Core/System/Unix/event_provider_socketpair.cpp.orig 2011-01-13 11:17:34 UTC
++++ Sources/Core/System/Unix/event_provider_socketpair.cpp
+@@ -45,7 +45,7 @@ CL_EventProvider_Socketpair::CL_EventPro
+ // Not sure if its better to use 0 or PF_UNIX for Linux then. The
+ // documentation for socketpair is not that clear about the
+ // difference. -- mbn 15 april 2005
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ int result = socketpair(AF_UNIX, SOCK_DGRAM, 0, wait_sockets);
+ #else
+ int result = socketpair(AF_UNIX, SOCK_DGRAM, PF_UNIX, wait_sockets);
More information about the svn-ports-all
mailing list