[37492] trunk/dports/lang/q
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 9 18:09:50 PDT 2008
Revision: 37492
http://trac.macosforge.org/projects/macports/changeset/37492
Author: ryandesign at macports.org
Date: 2008-06-09 18:09:50 -0700 (Mon, 09 Jun 2008)
Log Message:
-----------
q: fix build on Mac OS X 10.3 Panther, and maybe 10.2 Jaguar, with help of Q author Albert Graef
Modified Paths:
--------------
trunk/dports/lang/q/Portfile
Added Paths:
-----------
trunk/dports/lang/q/files/patch-clib.diff
Modified: trunk/dports/lang/q/Portfile
===================================================================
--- trunk/dports/lang/q/Portfile 2008-06-09 23:11:20 UTC (rev 37491)
+++ trunk/dports/lang/q/Portfile 2008-06-10 01:09:50 UTC (rev 37492)
@@ -51,7 +51,14 @@
platform darwin 6 {
depends_lib-append lib:libdl:dlcompat
+ patchfiles-append \
+ patch-clib.diff
}
+platform darwin 7 {
+ patchfiles-append \
+ patch-clib.diff
+}
+
livecheck.version [lindex [split ${version} -] 0]
livecheck.regex <title>q (.*) released.*</title>
Added: trunk/dports/lang/q/files/patch-clib.diff
===================================================================
--- trunk/dports/lang/q/files/patch-clib.diff (rev 0)
+++ trunk/dports/lang/q/files/patch-clib.diff 2008-06-10 01:09:50 UTC (rev 37492)
@@ -0,0 +1,25 @@
+--- modules/clib/clib.c Fri Feb 22 02:46:33 2008
++++ modules/clib/clib.c Mon Jun 9 05:42:37 2008
+@@ -6074,9 +6074,7 @@
+ if (!pattern) return __ERROR;
+ res = glob(pattern, 0, NULL, &g);
+ free(pattern);
+- if (res == GLOB_NOMATCH)
+- return mknil;
+- else if (res)
++ if (res)
+ return __FAIL;
+ else {
+ expr x = mknil;
+--- modules/clib/system.c Mon Jun 9 05:46:28 2008
++++ modules/clib/system.c Mon Jun 9 19:37:46 2008
+@@ -4849,9 +4849,6 @@
+ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ #undef SETPGRP_VOID
+ #endif
+-#if defined(__APPLE__)
+-#define SETPGRP_VOID
+-#endif
+
+ FUNCTION(system,setpgrp,argc,argv)
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080609/dd3859c0/attachment.htm
More information about the macports-changes
mailing list