summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patchsets/motif/2.3.5/02_all_sanitise-paths.patch')
-rw-r--r--patchsets/motif/2.3.5/02_all_sanitise-paths.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patchsets/motif/2.3.5/02_all_sanitise-paths.patch b/patchsets/motif/2.3.5/02_all_sanitise-paths.patch
new file mode 100644
index 0000000..750e368
--- /dev/null
+++ b/patchsets/motif/2.3.5/02_all_sanitise-paths.patch
@@ -0,0 +1,27 @@
+* don't do automagic guessing of paths
+
+--- motif-2.3.4-orig/configure.ac
++++ motif-2.3.4/configure.ac
+@@ -183,21 +183,8 @@
+
+ case "$host_os" in
+ freebsd*) CFLAGS="$CFLAGS -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI";
+- LDFLAGS="$LDFLAGS -L/usr/local/lib";;
++ ;;
+ cygwin*) CFLAGS="$CFLAGS -DXNO_MTSAFE_DIRENTDAPI";;
+- solaris* | sunos*) X_LIBS="$X_LIBS -L/usr/X/lib" &&
+- if test x$enable_motif22_compatibility = x
+- then
+- enable_motif22_compatibility="no"
+- fi;
+- if test x$enable_utf8 = x
+- then
+- enable_utf8="no"
+- fi;
+- if test x$enable_xft = x
+- then
+- enable_xft="no"
+- fi;;
+ esac
+
+ if test x$enable_motif22_compatibility = x