Date: Tue, 13 Oct 2015 03:50:34 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399175 - in head/devel/clanlib22: . files Message-ID: <201510130350.t9D3oY2F055812@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510130350.t9D3oY2F055812>