[92214] trunk/dports/x11/xorg-libxcb
jeremyhu at macports.org
jeremyhu at macports.org
Sat Apr 21 22:52:59 PDT 2012
Revision: 92214
https://trac.macports.org/changeset/92214
Author: jeremyhu at macports.org
Date: 2012-04-21 22:52:55 -0700 (Sat, 21 Apr 2012)
Log Message:
-----------
xorg-libxcb: Don't incorrectly fallback on tcp if a launchd socket is used for the connection
Modified Paths:
--------------
trunk/dports/x11/xorg-libxcb/Portfile
Added Paths:
-----------
trunk/dports/x11/xorg-libxcb/files/
trunk/dports/x11/xorg-libxcb/files/0001-xcb_connect-launchd-Don-t-fall-back-on-tcp-if-DISPLA.patch
Modified: trunk/dports/x11/xorg-libxcb/Portfile
===================================================================
--- trunk/dports/x11/xorg-libxcb/Portfile 2012-04-22 01:49:21 UTC (rev 92213)
+++ trunk/dports/x11/xorg-libxcb/Portfile 2012-04-22 05:52:55 UTC (rev 92214)
@@ -4,7 +4,7 @@
name xorg-libxcb
version 1.8.1
-revision 1
+revision 2
categories x11 devel
license X11
maintainers jeremyhu openmaintainer
@@ -30,6 +30,10 @@
configure.args --disable-build-docs
+patch.pre_args -p1
+patchfiles \
+ 0001-xcb_connect-launchd-Don-t-fall-back-on-tcp-if-DISPLA.patch
+
variant docs description "Install extra documentation" {
depends_build-append \
port:doxygen
Added: trunk/dports/x11/xorg-libxcb/files/0001-xcb_connect-launchd-Don-t-fall-back-on-tcp-if-DISPLA.patch
===================================================================
--- trunk/dports/x11/xorg-libxcb/files/0001-xcb_connect-launchd-Don-t-fall-back-on-tcp-if-DISPLA.patch (rev 0)
+++ trunk/dports/x11/xorg-libxcb/files/0001-xcb_connect-launchd-Don-t-fall-back-on-tcp-if-DISPLA.patch 2012-04-22 05:52:55 UTC (rev 92214)
@@ -0,0 +1,27 @@
+From 5f8f2ba1c4f9ac74c8f301dcca8566e296e37995 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston <jeremyhu at apple.com>
+Date: Sat, 21 Apr 2012 22:42:51 -0700
+Subject: [PATCH] xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is
+ a path to a launchd socket
+
+Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
+---
+ src/xcb_util.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/xcb_util.c b/src/xcb_util.c
+index f17aa3c..45f66cb 100644
+--- a/src/xcb_util.c
++++ b/src/xcb_util.c
+@@ -175,7 +175,7 @@ static int _xcb_open(const char *host, char *protocol, const int display)
+ if(strncmp(host, "/tmp/launch", 11) == 0) {
+ base = host;
+ host = "";
+- protocol = NULL;
++ protocol = "unix";
+ }
+ #endif
+
+--
+1.7.10
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120421/51e7fe15/attachment.html>
More information about the macports-changes
mailing list