summaryrefslogtreecommitdiff
path: root/source/l/lesstif/lesstif.x86_64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/lesstif/lesstif.x86_64.patch')
-rw-r--r--source/l/lesstif/lesstif.x86_64.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/source/l/lesstif/lesstif.x86_64.patch b/source/l/lesstif/lesstif.x86_64.patch
new file mode 100644
index 00000000..774a9df0
--- /dev/null
+++ b/source/l/lesstif/lesstif.x86_64.patch
@@ -0,0 +1,39 @@
+diff -up lesstif-0.95.0/scripts/motif-config.in.multilib lesstif-0.95.0/scripts/motif-config.in
+--- lesstif-0.95.0/scripts/motif-config.in.multilib 2005-01-14 20:36:00.000000000 +0100
++++ lesstif-0.95.0/scripts/motif-config.in 2007-10-21 13:52:43.000000000 +0200
+@@ -2,14 +2,16 @@
+ #
+ # $Header: /stuff/slackware/non-public/alien/slackware64/source/l/lesstif/RCS/lesstif-0.95.0-x86_64.patch,v 1.1 2008/10/17 20:29:26 eha Exp eha $
+ #
+-L="@prefix@"
+ XC="@X_CFLAGS@"
+-XL="@X_LIBS@"
+-XR="@XRENDER_LIBS@"
++X_PRE_LIBS="@X_PRE_LIBS@"
++X_LIBS="@X_LIBS@"
++X_EXTRA_LIBS="@X_EXTRA_LIBS@"
+ V="@PACKAGE_NAME@ @PACKAGE_VERSION@"
+
+-prefix=$L
+-exec_prefix=$L
++prefix="@prefix@"
++exec_prefix="@exec_prefix@"
++libdir="@libdir@"
++includedir="@includedir@"
+ exec_prefix_set=no
+
+ usage()
+@@ -80,10 +82,10 @@ if test "$echo_exec_prefix" = "yes"; the
+ fi
+
+ if test "$echo_cflags" = "yes"; then
+- echo "-I$L/include $XC"
++ echo "-I$includedir $XC"
+ fi
+
+ if test "$echo_libs" = "yes"; then
+- echo "-L$L/lib -L/usr/X11R6/lib -lXm -lXt $my_glib_libs $XR -lXext -lX11"
++ echo "-L$libdir ${X_LIBS} -lXm -lXt ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS}"
+ fi
+
+