Date: Tue, 13 Oct 2015 03:50:29 +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: r399174 - in head/devel/clanlib: . files Message-ID: <201510130350.t9D3oT48055683@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Oct 13 03:50:28 2015 New Revision: 399174 URL: https://svnweb.freebsd.org/changeset/ports/399174 Log: - Don't specify protocol in socketpair(AF_UNIX, SOCK_DGRAM, ...), otherwise it fails with EPROTONOSUPPORT. This unbreaks games/super_methane_brothers MFH: 2015Q4 Added: head/devel/clanlib/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp (contents, props changed) Modified: head/devel/clanlib/Makefile Modified: head/devel/clanlib/Makefile ============================================================================== --- head/devel/clanlib/Makefile Tue Oct 13 03:40:07 2015 (r399173) +++ head/devel/clanlib/Makefile Tue Oct 13 03:50:28 2015 (r399174) @@ -3,7 +3,7 @@ PORTNAME= clanlib PORTVERSION= 2.3.7 -PORTREVISION= 7 +PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-2.0/ Added: head/devel/clanlib/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clanlib/files/patch-Sources_Core_System_Unix_event__provider_socketpair.cpp Tue Oct 13 03:50:28 2015 (r399174) @@ -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.t9D3oT48055683>