[48214] trunk/dports/x11/xorg-libXext

jeremyhu at macports.org jeremyhu at macports.org
Mon Mar 16 19:03:08 PDT 2009


Revision: 48214
          http://trac.macports.org/changeset/48214
Author:   jeremyhu at macports.org
Date:     2009-03-16 19:03:07 -0700 (Mon, 16 Mar 2009)
Log Message:
-----------
libXext: Silence the "Generic Event Extension missing on display" warning.

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

Added Paths:
-----------
    trunk/dports/x11/xorg-libXext/files/
    trunk/dports/x11/xorg-libXext/files/cad77b1d6d1a344f2cb31c16401076c003bb97dd.patch

Modified: trunk/dports/x11/xorg-libXext/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXext/Portfile	2009-03-17 01:52:57 UTC (rev 48213)
+++ trunk/dports/x11/xorg-libXext/Portfile	2009-03-17 02:03:07 UTC (rev 48214)
@@ -4,6 +4,7 @@
 
 name            xorg-libXext
 version         1.0.5
+revision        1
 categories      x11 devel
 maintainers     jeremyhu openmaintainer
 description     X.org libXext
@@ -29,6 +30,8 @@
 livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
 livecheck.regex libXext-(\\d+(?:\\.\\d+)*)
 
+patchfiles cad77b1d6d1a344f2cb31c16401076c003bb97dd.patch
+patch.args -p1
 
 variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} {
 	if { [file exists ${x11prefix}/lib/libXext.dylib] && ! [string equal ${prefix} ${x11prefix}] } {

Added: trunk/dports/x11/xorg-libXext/files/cad77b1d6d1a344f2cb31c16401076c003bb97dd.patch
===================================================================
--- trunk/dports/x11/xorg-libXext/files/cad77b1d6d1a344f2cb31c16401076c003bb97dd.patch	                        (rev 0)
+++ trunk/dports/x11/xorg-libXext/files/cad77b1d6d1a344f2cb31c16401076c003bb97dd.patch	2009-03-17 02:03:07 UTC (rev 48214)
@@ -0,0 +1,66 @@
+diff --git libXext-1.0.5/README libXext-1.0.5/README
+index e69de29..8bd443b 100644
+--- libXext-1.0.5/README
++++ libXext-1.0.5/README
+@@ -0,0 +1,29 @@
++libXext - library for common extensions to the X11 protocol
++
++No new extensions should be added to this library - it is now instead
++preferred to make per-extension libraries that can be evolved as needed
++without breaking compatibility of this core library.
++
++All questions regarding this software should be directed at the
++Xorg mailing list:
++
++        http://lists.freedesktop.org/mailman/listinfo/xorg
++
++Please submit bug reports to the Xorg bugzilla:
++
++        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
++
++The master development code repository can be found at:
++
++        git://anongit.freedesktop.org/git/xorg/lib/libXext
++
++        http://cgit.freedesktop.org/xorg/lib/libXext
++
++For patch submission instructions, see:
++
++	http://www.x.org/wiki/Development/Documentation/SubmittingPatches
++
++For more information on the git code manager, see:
++
++        http://wiki.x.org/wiki/GitPage
++
+diff --git libXext-1.0.5/man/XShm.man libXext-1.0.5/man/XShm.man
+index 2e37997..64f292c 100644
+--- libXext-1.0.5/man/XShm.man
++++ libXext-1.0.5/man/XShm.man
+@@ -90,10 +90,11 @@ Status XShmDetach(
+ XImage *XShmCreateImage (
+ 	Display *display;
+ 	Visual *visual;
+-	unsigned int depth, width, height;
++	unsigned int depth;
+ 	int format;
+ 	char *data;
+-	XShmSegmentInfo *shminfo);
++	XShmSegmentInfo *shminfo;
++	unsigned int width, height);
+ .LP
+ Status XShmPutImage(
+ 	Display *display;
+diff --git libXext-1.0.5/src/Xge.c libXext-1.0.5/src/Xge.c
+index 90fbce5..6991553 100644
+--- libXext-1.0.5/src/Xge.c
++++ libXext-1.0.5/src/Xge.c
+@@ -161,8 +161,7 @@ cleanup:
+ static Bool
+ _xgeCheckExtension(Display* dpy, XExtDisplayInfo* info)
+ {
+-    XextCheckExtension(dpy, info, xge_extension_name, False);
+-    return True;
++    return XextHasExtension(info);
+ }
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090316/9d169e39/attachment.html>


More information about the macports-changes mailing list