summaryrefslogtreecommitdiff
path: root/lang/STk/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-09-26 02:02:32 +0000
committerhubertf <hubertf>2000-09-26 02:02:32 +0000
commitae261800db23679cfb8c4a0803c98b0d27e131dd (patch)
tree0ce20351aad00a88b3553a25e228412f07fb5210 /lang/STk/patches
parent19dea959488abc76b8b05bffde271ab0298cff42 (diff)
downloadpkgsrc-ae261800db23679cfb8c4a0803c98b0d27e131dd.tar.gz
* elf lib fix
* pull comments from head of patch files into the files they patch That way they don't get overwritten, don't need manual work to be included in the next update, and are visible in the patched files.
Diffstat (limited to 'lang/STk/patches')
-rw-r--r--lang/STk/patches/patch-ac26
-rw-r--r--lang/STk/patches/patch-ad43
2 files changed, 55 insertions, 14 deletions
diff --git a/lang/STk/patches/patch-ac b/lang/STk/patches/patch-ac
index 11f2a94e5ed..dae34d19e9a 100644
--- a/lang/STk/patches/patch-ac
+++ b/lang/STk/patches/patch-ac
@@ -1,14 +1,26 @@
-$NetBSD: patch-ac,v 1.1 2000/07/06 16:24:49 dmcmahill Exp $
+$NetBSD: patch-ac,v 1.2 2000/09/26 02:02:33 hubertf Exp $
-allow sharing between different arch's which use the same processor
-Ie, use 'm68k' instead of 'amiga', 'mac68k', 'hp300', etc.
-
---- configure.in.orig Sat Jun 6 08:19:03 1998
-+++ configure.in Thu Jul 6 10:24:09 2000
-@@ -15,5 +15,5 @@
+--- configure.in.orig Sat Jun 6 14:19:03 1998
++++ configure.in
+@@ -14,7 +14,11 @@
+ # determine the kind of the machine which is running this script
os=`uname -s`
version=`uname -r`
-machine=`uname -m`
++#
++# NetBSD:
++# allow sharing between different arch's which use the same processor
++# Ie, use 'm68k' instead of 'amiga', 'mac68k', 'hp300', etc.
+machine=`uname -p`
case $os in
+ Linux*)
+@@ -125,7 +129,7 @@
+
+ if test "$x_libraries" != ""
+ then
+- XLIBSW="-L$x_libraries"
++ XLIBSW="-L$x_libraries -Wl,-R$x_libraries"
+ fi
+
+ XLIBSW="$XLIBSW $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
diff --git a/lang/STk/patches/patch-ad b/lang/STk/patches/patch-ad
index 221e2f2c2c5..9cd7d7299ec 100644
--- a/lang/STk/patches/patch-ad
+++ b/lang/STk/patches/patch-ad
@@ -1,14 +1,43 @@
-$NetBSD: patch-ad,v 1.1 2000/07/06 16:24:49 dmcmahill Exp $
+$NetBSD: patch-ad,v 1.2 2000/09/26 02:02:33 hubertf Exp $
-allow sharing between different arch's which use the same processor
-Ie, use 'm68k' instead of 'amiga', 'mac68k', 'hp300', etc.
-
---- configure.orig Sat Jun 6 08:19:03 1998
-+++ configure Thu Jul 6 10:23:59 2000
-@@ -554,5 +554,5 @@
+--- configure.orig Sat Jun 6 14:19:03 1998
++++ configure
+@@ -553,7 +553,10 @@
+ # determine the kind of the machine which is running this script
os=`uname -s`
version=`uname -r`
-machine=`uname -m`
++# NetBSD:
++# allow sharing between different arch's which use the same processor
++# Ie, use 'm68k' instead of 'amiga', 'mac68k', 'hp300', etc.
+machine=`uname -p`
case $os in
+ Linux*)
+@@ -969,7 +972,7 @@
+ # just checking for Solaris.
+ # It would also be nice to do this for all -L options, not just this one.
+ if test -n "$x_libraries"; then
+- X_LIBS="$X_LIBS -L$x_libraries"
++ X_LIBS="$X_LIBS -Wl,-R$x_libraries -L$x_libraries"
+ if test "`(uname) 2>/dev/null`" = SunOS &&
+ uname -r | grep '^5' >/dev/null; then
+ X_LIBS="$X_LIBS -R $x_libraries"
+@@ -979,7 +982,7 @@
+ # Check for libraries that X11R6 Xt/Xaw programs need.
+
+ ac_save_LDFLAGS="$LDFLAGS"
+- LDFLAGS="$LDFLAGS -L$x_libraries"
++ LDFLAGS="$LDFLAGS -Wl,-R$x_libraries -L$x_libraries"
+ # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+ # check for ICE first), but we must link in the order -lSM -lICE or
+ # we get undefined symbols. So assume we have SM if we have ICE.
+@@ -1193,7 +1196,7 @@
+
+ if test "$x_libraries" != ""
+ then
+- XLIBSW="-L$x_libraries"
++ XLIBSW="-Wl,-R$x_libraries -L$x_libraries"
+ fi
+
+ XLIBSW="$XLIBSW $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"