From owner-svn-ports-head@freebsd.org Tue Oct 13 03:50:35 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FAB8A11AAE; Tue, 13 Oct 2015 03:50:35 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3BAD7874; Tue, 13 Oct 2015 03:50:35 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9D3oYuT055814; Tue, 13 Oct 2015 03:50:34 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9D3oY2F055812; Tue, 13 Oct 2015 03:50:34 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510130350.t9D3oY2F055812@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 13 Oct 2015 03:50:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399175 - in head/devel/clanlib22: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 03:50:35 -0000 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);