[61467] trunk/dports/x11/xorg-libxcb

jeremyhu at macports.org jeremyhu at macports.org
Fri Dec 11 17:25:27 PST 2009


Revision: 61467
          http://trac.macports.org/changeset/61467
Author:   jeremyhu at macports.org
Date:     2009-12-11 17:25:23 -0800 (Fri, 11 Dec 2009)
Log Message:
-----------
xorg-libxcb: Don't use poll() on SnowLeopard too

Modified Paths:
--------------
    trunk/dports/x11/xorg-libxcb/Portfile

Added Paths:
-----------
    trunk/dports/x11/xorg-libxcb/files/
    trunk/dports/x11/xorg-libxcb/files/0001-darwin-xnu-doesn-t-support-poll-on-ttys-on-the-maste.patch

Modified: trunk/dports/x11/xorg-libxcb/Portfile
===================================================================
--- trunk/dports/x11/xorg-libxcb/Portfile	2009-12-12 01:08:15 UTC (rev 61466)
+++ trunk/dports/x11/xorg-libxcb/Portfile	2009-12-12 01:25:23 UTC (rev 61467)
@@ -4,6 +4,7 @@
 
 name		xorg-libxcb
 version		1.5
+revision        1
 categories	x11 devel
 maintainers	jeremyhu openmaintainer
 description	X.org libxcb
@@ -20,12 +21,19 @@
 use_parallel_build yes
 
 depends_build   port:pkgconfig \
+                port:xorg-util-macros \
                 port:xorg-libpthread-stubs
 
 depends_lib	port:xorg-libXau \
                 port:xorg-libXdmcp \
                 port:xorg-xcb-proto
 
+patchfiles 0001-darwin-xnu-doesn-t-support-poll-on-ttys-on-the-maste.patch
+patch.args -p1
+
+use_autoreconf yes
+autoreconf.args -fvi
+
 livecheck.type  regex
 livecheck.url   ${master_sites}?C=M&O=D
 livecheck.regex libxcb-(\\d+(?:\\.\\d+)*)

Added: trunk/dports/x11/xorg-libxcb/files/0001-darwin-xnu-doesn-t-support-poll-on-ttys-on-the-maste.patch
===================================================================
--- trunk/dports/x11/xorg-libxcb/files/0001-darwin-xnu-doesn-t-support-poll-on-ttys-on-the-maste.patch	                        (rev 0)
+++ trunk/dports/x11/xorg-libxcb/files/0001-darwin-xnu-doesn-t-support-poll-on-ttys-on-the-maste.patch	2009-12-12 01:25:23 UTC (rev 61467)
@@ -0,0 +1,31 @@
+From 58c96da9283d3c2f65c818bd952f611ec4e4dad0 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston <jeremyhu at freedesktop.org>
+Date: Fri, 11 Dec 2009 17:15:16 -0800
+Subject: [PATCH] darwin: xnu doesn't support poll on ttys on the master side.
+
+<rdar://problem/7360546>
+
+Signed-off-by: Jeremy Huddleston <jeremyhu at freedesktop.org>
+---
+ configure.ac |    5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index f535a06..67d5a95 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -121,9 +121,8 @@ AC_PREREQ([2.59c], [], [AC_SUBST([htmldir], [m4_ifset([AC_PACKAGE_TARNAME],
+ XCB_CHECK_DOXYGEN()
+ 
+ case $host_os in
+-	# darwin has poll() but can't be used to poll character devices
+-	# darwin10 (SnowLeopard) should be tested as well once released
+-	darwin7*) ;; darwin8*) ;; darwin9*) ;;
++	# darwin has poll() but can't be used to poll character devices (atleast through SnowLeopard)
++	darwin*) ;;
+ 	*)
+ 		AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
+ 	;;
+-- 
+1.6.5.3
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091211/7162d332/attachment.html>


More information about the macports-changes mailing list