pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/nickle fix build issue with Sun Studio. It doesn'...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1797d555f5e
branches:  trunk
changeset: 569378:b1797d555f5e
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Jan 15 23:09:28 2010 +0000

description:
fix build issue with Sun Studio. It doesn't like void values as operators
to ternary expressions, even when the result is discarded.
While here, update to nickle-2.69. Only difference seems to be that
configry is generated with newer autotools.

diffstat:

 math/nickle/Makefile         |   4 ++--
 math/nickle/distinfo         |   9 +++++----
 math/nickle/patches/patch-aa |  13 +++++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r a68c584dfd33 -r b1797d555f5e math/nickle/Makefile
--- a/math/nickle/Makefile      Fri Jan 15 22:25:43 2010 +0000
+++ b/math/nickle/Makefile      Fri Jan 15 23:09:28 2010 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2009/06/07 14:05:04 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2010/01/15 23:09:28 tnn Exp $
 #
 
-DISTNAME=      nickle-2.68
+DISTNAME=      nickle-2.69
 CATEGORIES=    math lang
 MASTER_SITES=  http://nickle.org/release/
 
diff -r a68c584dfd33 -r b1797d555f5e math/nickle/distinfo
--- a/math/nickle/distinfo      Fri Jan 15 22:25:43 2010 +0000
+++ b/math/nickle/distinfo      Fri Jan 15 23:09:28 2010 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2009/06/07 14:05:04 wiz Exp $
+$NetBSD: distinfo,v 1.6 2010/01/15 23:09:28 tnn Exp $
 
-SHA1 (nickle-2.68.tar.gz) = 226afe1503557a746672fccfa464cfaafd3bb058
-RMD160 (nickle-2.68.tar.gz) = 9d9d6b5fb79b65a8a0cd922e4322d7d91c58065b
-Size (nickle-2.68.tar.gz) = 469027 bytes
+SHA1 (nickle-2.69.tar.gz) = 4d81ac4e88b8f4385f7d73c370ad2cbae11e50ed
+RMD160 (nickle-2.69.tar.gz) = a102e294e183fa008fa1104bcd1891e738faaf25
+Size (nickle-2.69.tar.gz) = 484301 bytes
+SHA1 (patch-aa) = 0b1e03f3e42ea088c5a81109e9534c77efe30659
diff -r a68c584dfd33 -r b1797d555f5e math/nickle/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/nickle/patches/patch-aa      Fri Jan 15 23:09:28 2010 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2010/01/15 23:09:28 tnn Exp $
+
+--- execute.c.orig     2008-03-20 00:21:49.000000000 +0000
++++ execute.c
+@@ -730,7 +730,7 @@ ThreadUnwind (Value thread, int twixt, i
+ #endif
+ }
+ 
+-#define ThreadBoxCheck(box,i) (BoxValueGet(box,i) == 0 ? ThreadBoxSetDefault(box,i,0) : 0)
++#define ThreadBoxCheck(box,i) (BoxValueGet(box,i) == 0 ? (ThreadBoxSetDefault(box,i,0) ,1) : 0)
+ 
+ typedef struct _TypeChain {
+     struct _TypeChain *prev;



Home | Main Index | Thread Index | Old Index