[36126] trunk/dports/lang/q
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 18 18:33:52 PDT 2008
Revision: 36126
http://trac.macosforge.org/projects/macports/changeset/36126
Author: ryandesign at macports.org
Date: 2008-04-18 18:33:52 -0700 (Fri, 18 Apr 2008)
Log Message:
-----------
q: update to 7.11, with patch from the author to let it compile on Mac OS X; see http://sourceforge.net/mailarchive/forum.php?thread_name=C0894788-E773-48C8-B8AF-ADE0A14BE92B%40users.sourceforge.net&forum_name=q-lang-users
Modified Paths:
--------------
trunk/dports/lang/q/Portfile
Added Paths:
-----------
trunk/dports/lang/q/files/
trunk/dports/lang/q/files/patch-system.c.diff
Modified: trunk/dports/lang/q/Portfile
===================================================================
--- trunk/dports/lang/q/Portfile 2008-04-19 00:16:57 UTC (rev 36125)
+++ trunk/dports/lang/q/Portfile 2008-04-19 01:33:52 UTC (rev 36126)
@@ -2,7 +2,7 @@
PortSystem 1.0
name q
-version 7.10
+version 7.11
categories lang
maintainers ryandesign
description extensible scripting language
@@ -25,10 +25,12 @@
port:curl
master_sites sourceforge:q-lang
-checksums md5 178a3813359633ac0a26f5c73770703f \
- sha1 9fb50a6dcfc89812562e51dd0ec10a804dd94311 \
- rmd160 defa29e4c811f12a164e94514d1bd9b1e990382e
+checksums md5 18ca956aad555b54efacc0de5b2d79bd \
+ sha1 f255c80cee5b09d62b38e72785d12649901c0933 \
+ rmd160 61a7eba9857ae2c7c553625a423c62fd737836e4
+patchfiles patch-system.c.diff
+
configure.args --with-gmp --with-rl --with-pthread --with-curl \
--without-gdbm \
--without-x --without-ggi --without-ft2 \
Added: trunk/dports/lang/q/files/patch-system.c.diff
===================================================================
--- trunk/dports/lang/q/files/patch-system.c.diff (rev 0)
+++ trunk/dports/lang/q/files/patch-system.c.diff 2008-04-19 01:33:52 UTC (rev 36126)
@@ -0,0 +1,44 @@
+--- modules/clib/system.c 2008/02/23 08:37:30 1.6
++++ modules/clib/system.c 2008/03/06 10:15:24 1.7
+@@ -1681,19 +1681,19 @@
+ mkint(IPPROTO_TCP),
+ mkint(IPPROTO_UDP),
+
+-#ifdef _POSIX_TIMERS
++#if _POSIX_TIMERS > 0
+ mkint(CLOCK_REALTIME),
+-#ifdef _POSIX_MONOTONIC_CLOCK
++#if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK >= 0)
+ mkint(CLOCK_MONOTONIC),
+ #else
+ mkvoid,
+ #endif
+-#ifdef _POSIX_CPUTIME
++#if defined(_POSIX_CPUTIME) && (_POSIX_CPUTIME >= 0)
+ mkint(CLOCK_PROCESS_CPUTIME_ID),
+ #else
+ mkvoid,
+ #endif
+-#ifdef _POSIX_THREAD_CPUTIME
++#if defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)
+ mkint(CLOCK_THREAD_CPUTIME_ID),
+ #else
+ mkvoid,
+@@ -5704,7 +5704,7 @@
+
+ FUNCTION(system,process_cpu_clockid,argc,argv)
+ {
+-#ifdef _POSIX_CPUTIME
++#if defined(_POSIX_CPUTIME) && (_POSIX_CPUTIME >= 0)
+ long pid;
+ if (argc == 1 && isint(argv[0], &pid)) {
+ clockid_t id;
+@@ -5721,7 +5721,7 @@
+
+ FUNCTION(system,thread_cpu_clockid,argc,argv)
+ {
+-#ifdef _POSIX_THREAD_CPUTIME
++#if defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)
+ THREAD *thr;
+ if (argc == 1 && isobj(argv[0], type(Thread), (void**)&thr)) {
+ clockid_t id;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080418/e82ae020/attachment.html
More information about the macports-changes
mailing list