From owner-svn-ports-head@FreeBSD.ORG Sun Dec 28 20:09:17 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7EB9222D; Sun, 28 Dec 2014 20:09:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 52D4164CB7; Sun, 28 Dec 2014 20:09:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBSK9HOJ049227; Sun, 28 Dec 2014 20:09:17 GMT (envelope-from romain@FreeBSD.org) Received: (from romain@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBSK9GIM049225; Sun, 28 Dec 2014 20:09:16 GMT (envelope-from romain@FreeBSD.org) Message-Id: <201412282009.sBSK9GIM049225@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: romain set sender to romain@FreeBSD.org using -f From: Romain Tartière Date: Sun, 28 Dec 2014 20:09:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375752 - in head/devel/dbus-sharp: . 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.18-1 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: Sun, 28 Dec 2014 20:09:17 -0000 Author: romain Date: Sun Dec 28 20:09:15 2014 New Revision: 375752 URL: https://svnweb.freebsd.org/changeset/ports/375752 QAT: https://qat.redports.org/buildarchive/r375752/ Log: Fix AF_UNIX sockets. Added: head/devel/dbus-sharp/files/ head/devel/dbus-sharp/files/patch-src_UnixNativeTransport.cs (contents, props changed) Modified: head/devel/dbus-sharp/Makefile Modified: head/devel/dbus-sharp/Makefile ============================================================================== --- head/devel/dbus-sharp/Makefile Sun Dec 28 19:58:11 2014 (r375751) +++ head/devel/dbus-sharp/Makefile Sun Dec 28 20:09:15 2014 (r375752) @@ -3,7 +3,7 @@ PORTNAME= dbus-sharp PORTVERSION= 0.7.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= devel gnome MASTER_SITES= http://cloud.github.com/downloads/mono/${PORTNAME}/ Added: head/devel/dbus-sharp/files/patch-src_UnixNativeTransport.cs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dbus-sharp/files/patch-src_UnixNativeTransport.cs Sun Dec 28 20:09:15 2014 (r375752) @@ -0,0 +1,37 @@ + +$FreeBSD$ + +--- src/UnixNativeTransport.cs.orig ++++ src/UnixNativeTransport.cs +@@ -93,10 +93,15 @@ + + byte[] sa = new byte[2 + p.Length + 1]; + ++#if false + //we use BitConverter to stay endian-safe + byte[] afData = BitConverter.GetBytes (UnixSocket.AF_UNIX); + sa[0] = afData[0]; + sa[1] = afData[1]; ++#endif ++ ++ sa[0] = (byte) sa.Length; ++ sa[1] = 1; /* AF_UNIX */ + + for (int i = 0 ; i != p.Length ; i++) + sa[2 + i] = p[i]; +@@ -111,10 +116,15 @@ + + byte[] sa = new byte[2 + 1 + p.Length]; + ++#if false + //we use BitConverter to stay endian-safe + byte[] afData = BitConverter.GetBytes (UnixSocket.AF_UNIX); + sa[0] = afData[0]; + sa[1] = afData[1]; ++#endif ++ ++ sa[0] = (byte) sa.Length; ++ sa[1] = 1; /* AF_UNIX */ + + sa[2] = 0; //null prefix for abstract domain socket addresses, see unix(7) + for (int i = 0 ; i != p.Length ; i++)