summaryrefslogtreecommitdiff
path: root/math/plplot/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/plplot/files')
-rw-r--r--math/plplot/files/patch-aa20
-rw-r--r--math/plplot/files/patch-ac13
2 files changed, 26 insertions, 7 deletions
diff --git a/math/plplot/files/patch-aa b/math/plplot/files/patch-aa
index 95be93460cde..341419dd1e15 100644
--- a/math/plplot/files/patch-aa
+++ b/math/plplot/files/patch-aa
@@ -1,5 +1,5 @@
---- configure.orig Tue Jun 6 21:58:50 1995
-+++ configure Fri Oct 3 14:59:52 1997
+--- configure.orig Tue Jun 6 14:58:50 1995
++++ configure Sat Sep 26 23:34:48 1998
@@ -1472,13 +1472,13 @@
# ----------------------------------------------------------------------------
@@ -17,22 +17,28 @@
LDC_FLAGS=\
"$PROF_FLAG_LC $SYS_FLAGS_LC $DEBUG_FLAG_LC"
-@@ -3062,6 +3062,14 @@
+@@ -3062,6 +3062,20 @@
# Hmm, would be good to replace that trailing .0 with the
# compilation number or some such. Have to think about that.
;;
+ FreeBSD*|NetBSD*|OpenBSD* )
-+ SO='.so.$(MAJOR_VERSION).$(MINOR_VERSION)'
+ SHLIB_CCFLAGS="-fpic -DPIC"
+ SHLIB_CXXFLAGS="-fpic -DPIC"
-+ SHLIB_BUILD="ld -Bshareable -o"
-+ SOVERSION='$(MAJOR_VERSION).$(MINOR_VERSION)'
++ if [ "${PORTOBJFORMAT}" = "elf" ]; then
++ SO='.so.$(MAJOR_VERSION)'
++ SHLIB_BUILD="ld -shared -soname \$@ -o"
++ SOVERSION='$(MAJOR_VERSION)'
++ else
++ SO='.so.$(MAJOR_VERSION).$(MINOR_VERSION)'
++ SHLIB_BUILD="ld -Bshareable -o"
++ SOVERSION='$(MAJOR_VERSION).$(MINOR_VERSION)'
++ fi
+ echo "$ac_t""okay" 1>&6
+ ;;
HP-UX-* )
SO=".sl"
SHLIB_F77FLAGS="+z"
-@@ -4192,16 +4200,16 @@
+@@ -4192,16 +4206,16 @@
fi
fi
if test -z "$DOC_DIR"; then
diff --git a/math/plplot/files/patch-ac b/math/plplot/files/patch-ac
new file mode 100644
index 000000000000..d2bc00e8b1ac
--- /dev/null
+++ b/math/plplot/files/patch-ac
@@ -0,0 +1,13 @@
+--- drivers/tek.c.orig Sat Sep 26 23:07:07 1998
++++ drivers/tek.c Sat Sep 26 23:07:28 1998
+@@ -79,8 +79,8 @@
+ static void tty_atexit (void);
+ #else
+ static void tty_setup (void) {};
+-static int tty_cbreak (void) {return 0};
+-static int tty_reset (void) {return 0};
++static int tty_cbreak (void) {return 0;};
++static int tty_reset (void) {return 0;};
+ static void tty_atexit (void) {};
+ #endif
+