svn commit: r399194 - in branches/2015Q4/devel/clanlib22: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 13 14:27:16 UTC 2015
Author: amdmi3
Date: Tue Oct 13 14:27:14 2015
New Revision: 399194
URL: https://svnweb.freebsd.org/changeset/ports/399194
Log:
MFH: r399175
- Don't specify protocol in socketpair(AF_UNIX, SOCK_DGRAM, ...), otherwise it fails with EPROTONOSUPPORT
Approved by: ports-secteam (feld)
Added:
branches/2015Q4/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp
- copied unchanged from r399175, head/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp
Modified:
branches/2015Q4/devel/clanlib22/Makefile
Directory Properties:
branches/2015Q4/ (props changed)
Modified: branches/2015Q4/devel/clanlib22/Makefile
==============================================================================
--- branches/2015Q4/devel/clanlib22/Makefile Tue Oct 13 14:25:53 2015 (r399193)
+++ branches/2015Q4/devel/clanlib22/Makefile Tue Oct 13 14:27:14 2015 (r399194)
@@ -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}
Copied: branches/2015Q4/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp (from r399175, 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)
+++ branches/2015Q4/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp Tue Oct 13 14:27:14 2015 (r399194, copy of r399175, head/devel/clanlib22/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp)
@@ -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