pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/geomview Make configure's test on the need fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8dd8ff256959
branches:  trunk
changeset: 530283:8dd8ff256959
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Jun 21 12:38:27 2007 +0000

description:
Make configure's test on the need for -lm more robust in the face of
optimisers.

diffstat:

 graphics/geomview/distinfo         |   4 ++--
 graphics/geomview/patches/patch-aa |  19 +++++++++++++++----
 2 files changed, 17 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 6be22f838843 -r 8dd8ff256959 graphics/geomview/distinfo
--- a/graphics/geomview/distinfo        Thu Jun 21 12:31:51 2007 +0000
+++ b/graphics/geomview/distinfo        Thu Jun 21 12:38:27 2007 +0000
@@ -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 -r 6be22f838843 -r 8dd8ff256959 graphics/geomview/patches/patch-aa
--- a/graphics/geomview/patches/patch-aa        Thu Jun 21 12:31:51 2007 +0000
+++ b/graphics/geomview/patches/patch-aa        Thu Jun 21 12:38:27 2007 +0000
@@ -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 @@
   #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"
  
  



Home | Main Index | Thread Index | Old Index