summaryrefslogtreecommitdiff
path: root/graphics/geomview
diff options
context:
space:
mode:
authormarkd <markd>2007-06-21 12:38:27 +0000
committermarkd <markd>2007-06-21 12:38:27 +0000
commit7c3927b295b699232bd8f8b68b57aecc74fbc72d (patch)
tree84f82bdc688d186fe03e09248b266faaac82d0ea /graphics/geomview
parent92c7cf5b9865a343a8f069408f74762ca349f085 (diff)
downloadpkgsrc-7c3927b295b699232bd8f8b68b57aecc74fbc72d.tar.gz
Make configure's test on the need for -lm more robust in the face of
optimisers.
Diffstat (limited to 'graphics/geomview')
-rw-r--r--graphics/geomview/distinfo4
-rw-r--r--graphics/geomview/patches/patch-aa19
2 files changed, 17 insertions, 6 deletions
diff --git a/graphics/geomview/distinfo b/graphics/geomview/distinfo
index 3162347814a..6d29083d6c9 100644
--- a/graphics/geomview/distinfo
+++ b/graphics/geomview/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 08:45:05 agc Exp $
+$NetBSD: distinfo,v 1.6 2007/06/21 12:38:27 markd Exp $
SHA1 (geomview-1.8.1.tar.gz) = 026a22ecba471f7d55c407de4fc409213d166477
RMD160 (geomview-1.8.1.tar.gz) = 4c42b928376517115e1bba16c978b80ff41b7b45
Size (geomview-1.8.1.tar.gz) = 2766832 bytes
-SHA1 (patch-aa) = 46f609f1fcb2f9a58348f9fa8033a4b7c8954461
+SHA1 (patch-aa) = ff0451f0bb80ac49cb157788b49a71c1f5b46ef9
SHA1 (patch-ab) = 706b10ccfb3ba02baa48b461123707cdd9cbfdff
SHA1 (patch-ac) = 55d2297e8a31203fc5f21b2800f4a2948ee07f9c
SHA1 (patch-ad) = 9db6fb9ffae5939f80bfcae8aa5da389437d627c
diff --git a/graphics/geomview/patches/patch-aa b/graphics/geomview/patches/patch-aa
index 60c3a90d3ce..3a37280fd4e 100644
--- a/graphics/geomview/patches/patch-aa
+++ b/graphics/geomview/patches/patch-aa
@@ -1,8 +1,19 @@
-$NetBSD: patch-aa,v 1.3 2001/07/04 03:08:58 jlam Exp $
+$NetBSD: patch-aa,v 1.4 2007/06/21 12:38:27 markd Exp $
---- configure.orig Mon Mar 26 00:23:02 2001
+--- configure.orig 2001-03-26 17:23:02.000000000 +1200
+++ configure
-@@ -3462,6 +3462,7 @@
+@@ -3435,8 +3435,9 @@ cat > conftest.$ac_ext <<EOF
+ #line 3436 "configure"
+ #include "confdefs.h"
+ #include <math.h>
++double s;
+ int main() {
+- double s = sin(1.5);
++ s = sin(1.5);
+ ; return 0; }
+ EOF
+ if { (eval echo configure:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+@@ -3462,6 +3463,7 @@ echo "configure:3462: checking whether w
cat > conftest.$ac_ext <<EOF
#line 3464 "configure"
#include "confdefs.h"
@@ -10,7 +21,7 @@ $NetBSD: patch-aa,v 1.3 2001/07/04 03:08:58 jlam Exp $
#include <sys/socket.h>
int main() {
int s = socket(AF_UNIX, SOCK_STREAM, 0);
-@@ -3865,7 +3866,7 @@
+@@ -3865,7 +3867,7 @@ done
moduledir="\$(exec_prefix)/bin"