pkgsrc/graphics/geomview/patches/patch-aa

32 lines
918 B
Text

$NetBSD: patch-aa,v 1.4 2007/06/21 12:38:27 markd Exp $
--- configure.orig 2001-03-26 17:23:02.000000000 +1200
+++ configure
@@ -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"
+#include <sys/types.h>
#include <sys/socket.h>
int main() {
int s = socket(AF_UNIX, SOCK_STREAM, 0);
@@ -3865,7 +3867,7 @@ done
moduledir="\$(exec_prefix)/bin"
-geomdatadir="\$(prefix)/data"
+geomdatadir="\$(prefix)/share/geomview/data"
# cache 'moduledir' and 'geomdatadir' so individual module configure scripts