summaryrefslogtreecommitdiff
path: root/graphics/geomview/patches
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-09 03:26:59 +0000
committerjtb <jtb@pkgsrc.org>2001-02-09 03:26:59 +0000
commitbb4029a559464f6c5d1d60e86f23e95c9e2d119c (patch)
tree3ed7e9cdc16f85239a0506d9451f9148dbb99700 /graphics/geomview/patches
parent58015b3cb5dc62b550c98fcd8f75c4b17709d0ff (diff)
downloadpkgsrc-bb4029a559464f6c5d1d60e86f23e95c9e2d119c.tar.gz
Initial import of geomview:
Interactive geometry viewing program
Diffstat (limited to 'graphics/geomview/patches')
-rw-r--r--graphics/geomview/patches/patch-aa93
-rw-r--r--graphics/geomview/patches/patch-ab13
-rw-r--r--graphics/geomview/patches/patch-ac13
-rw-r--r--graphics/geomview/patches/patch-ad13
-rw-r--r--graphics/geomview/patches/patch-ae12
-rw-r--r--graphics/geomview/patches/patch-af12
6 files changed, 156 insertions, 0 deletions
diff --git a/graphics/geomview/patches/patch-aa b/graphics/geomview/patches/patch-aa
new file mode 100644
index 00000000000..2b69f13270f
--- /dev/null
+++ b/graphics/geomview/patches/patch-aa
@@ -0,0 +1,93 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $
+
+--- configure.orig Sun Nov 19 23:20:25 2000
++++ configure
+@@ -2020,7 +2020,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="-R$geom_z -L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -2069,7 +2069,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="-R$geom_z -L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -2122,7 +2122,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="-R$geom_z -L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -2190,7 +2190,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="-R$geom_z -L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -2336,7 +2336,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="--R$geom_z L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -2470,7 +2470,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="-R$geom_z -L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -2527,7 +2527,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="-R$geom_z -L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -2690,7 +2690,7 @@
+ for geom_z in $geom_dirs ; do
+ geom_z=`eval echo $geom_z`
+ if test "$geom_z" != "" ; then
+- geom_l_option="-L$geom_z"
++ geom_l_option="-R$geom_z -L$geom_z"
+ else
+ geom_l_option=""
+ fi
+@@ -3118,6 +3118,7 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 3120 "configure"
+ #include "confdefs.h"
++#include <stdio.h>
+ #include <sys/socket.h>
+ int main() {
+ int s = socket(AF_UNIX, SOCK_STREAM, 0);
+@@ -3362,7 +3363,7 @@
+ moduledir="\$(exec_prefix)/bin"
+
+
+-geomdatadir="\$(prefix)/data"
++geomdatadir="\$(prefix)/share/geomview/data"
+
+
+ # cache 'moduledir' and 'geomdatadir' so individual module configure scripts
diff --git a/graphics/geomview/patches/patch-ab b/graphics/geomview/patches/patch-ab
new file mode 100644
index 00000000000..e47fa4dc687
--- /dev/null
+++ b/graphics/geomview/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $
+
+--- src/lib/oogl/util/error.c.orig Thu Feb 8 23:58:53 2001
++++ src/lib/oogl/util/error.c
+@@ -102,7 +102,7 @@
+ const char *
+ sperrno(unsigned int err)
+ {
+-#if !defined(__FreeBSD__) && !defined(__GLIBC__)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GLIBC__)
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
diff --git a/graphics/geomview/patches/patch-ac b/graphics/geomview/patches/patch-ac
new file mode 100644
index 00000000000..969e3629826
--- /dev/null
+++ b/graphics/geomview/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $
+
+--- src/lib/oogl/util/futil.c.orig Fri Feb 9 01:08:25 2001
++++ src/lib/oogl/util/futil.c
+@@ -177,7 +177,7 @@
+ #define _cnt __cnt
+ #endif
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define _base _bf._base
+ #define _ptr _p
+ #define _cnt _r
diff --git a/graphics/geomview/patches/patch-ad b/graphics/geomview/patches/patch-ad
new file mode 100644
index 00000000000..954e75b09c5
--- /dev/null
+++ b/graphics/geomview/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $
+
+--- src/bin/geomview/common/comm.c.orig Fri Feb 9 02:09:35 2001
++++ src/bin/geomview/common/comm.c
+@@ -624,7 +624,7 @@
+ char envbuf[10240];
+
+ if(otherpgrp) {
+-#if defined(NeXT) || (defined(BSD) && !defined(__osf__)) || defined(__alpha__)
++#if defined(NeXT) || (defined(BSD) && !defined(__osf__)) || defined(__alpha__) || defined(__NetBSD__)
+ setpgrp(0,getpid());
+ #else
+ setpgrp();
diff --git a/graphics/geomview/patches/patch-ae b/graphics/geomview/patches/patch-ae
new file mode 100644
index 00000000000..c3d2dd10a0d
--- /dev/null
+++ b/graphics/geomview/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $
+
+--- src/bin/togeomview/togeomview.c.orig Fri Feb 9 02:17:45 2001
++++ src/bin/togeomview/togeomview.c
+@@ -11,6 +11,7 @@
+ #include <sys/errno.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
++#include <sys/param.h>
+
+ #ifndef NeXT
+ #include <unistd.h>
diff --git a/graphics/geomview/patches/patch-af b/graphics/geomview/patches/patch-af
new file mode 100644
index 00000000000..0ea1d74580f
--- /dev/null
+++ b/graphics/geomview/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $
+
+--- src/bin/geomutil/math2oogl/math2oogl.c.orig Fri Feb 9 02:22:10 2001
++++ src/bin/geomutil/math2oogl/math2oogl.c
+@@ -55,6 +55,7 @@
+ #include <sys/file.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
++#include <sys/param.h>
+ #endif
+ #include <sys/errno.h>
+ #include <string.h>