[69938] trunk/dports/x11/xmore
jeremyhu at macports.org
jeremyhu at macports.org
Thu Jul 22 23:00:17 PDT 2010
Revision: 69938
http://trac.macports.org/changeset/69938
Author: jeremyhu at macports.org
Date: 2010-07-22 23:00:14 -0700 (Thu, 22 Jul 2010)
Log Message:
-----------
xprint: Fix possible linking issue
Modified Paths:
--------------
trunk/dports/x11/xmore/Portfile
Added Paths:
-----------
trunk/dports/x11/xmore/files/
trunk/dports/x11/xmore/files/no-xprint.patch
Modified: trunk/dports/x11/xmore/Portfile
===================================================================
--- trunk/dports/x11/xmore/Portfile 2010-07-23 01:17:57 UTC (rev 69937)
+++ trunk/dports/x11/xmore/Portfile 2010-07-23 06:00:14 UTC (rev 69938)
@@ -23,6 +23,8 @@
depends_lib port:xorg-libXaw
+patchfiles no-xprint.patch
+
configure.args --mandir=${prefix}/share/man --disable-xprint
livecheck.type regex
Added: trunk/dports/x11/xmore/files/no-xprint.patch
===================================================================
--- trunk/dports/x11/xmore/files/no-xprint.patch (rev 0)
+++ trunk/dports/x11/xmore/files/no-xprint.patch 2010-07-23 06:00:14 UTC (rev 69938)
@@ -0,0 +1,19 @@
+--- xmore.c.orig 2010-07-22 22:54:24.000000000 -0700
++++ xmore.c 2010-07-22 22:54:50.000000000 -0700
+@@ -147,14 +147,14 @@ quitXtProc(Widget w, XtPointer client_da
+ XtCallActionProc(w, "quit", NULL, NULL, 0);
+ }
+
++#ifdef USE_XPRINT
++
+ static void
+ printshellDestroyXtProc(Widget w, XtPointer client_data, XtPointer callData)
+ {
+ XawPrintDialogClosePrinterConnection(printdialog, False);
+ }
+
+-#ifdef USE_XPRINT
+-
+ static void
+ printOKXtProc(Widget w, XtPointer client_data, XtPointer callData)
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100722/08f015a6/attachment.html>
More information about the macports-changes
mailing list