summaryrefslogtreecommitdiff
path: root/graphics/geomview/patches/patch-aa
blob: 3a37280fd4e76038bb59910ca64c0413556720f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$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