Blame SOURCES/motif-2.3.4-bindings.patch

2b35d3
diff -up openmotif-2.3.3/configure.ac.bindings openmotif-2.3.3/configure.ac
2b35d3
--- openmotif-2.3.3/configure.ac.bindings	2009-10-27 17:10:23.000000000 +0100
2b35d3
+++ openmotif-2.3.3/configure.ac	2010-03-19 11:12:39.000000000 +0100
2b35d3
@@ -185,7 +185,7 @@ AC_SUBST(MWMRCDIR)
2b35d3
 INCDIR="${includedir}/X11"
2b35d3
 AC_SUBST(INCDIR)
2b35d3
 
2b35d3
-XMBINDDIR_FALLBACK="${libdir}/X11/bindings"
2b35d3
+XMBINDDIR_FALLBACK="${datadir}/X11/bindings"
2b35d3
 AC_SUBST(XMBINDDIR_FALLBACK)
2b35d3
 
2b35d3
 RM="rm -f"
2b35d3
diff -up openmotif-2.3.3/doc/man/man3/VirtualBindings.3.bindings openmotif-2.3.3/doc/man/man3/VirtualBindings.3
2b35d3
--- openmotif-2.3.3/doc/man/man3/VirtualBindings.3.bindings	2005-07-20 13:47:21.000000000 +0200
2b35d3
+++ openmotif-2.3.3/doc/man/man3/VirtualBindings.3	2010-03-19 11:11:42.000000000 +0100
2b35d3
@@ -90,7 +90,7 @@ bindings contained in that file\&.
2b35d3
 If it has found no bindings, Motif next looks for the file
2b35d3
 \fBxmbind\&.alias\fP in the directory specified by the environment
2b35d3
 variable \fBXMBINDDIR\fP, if \fBXMBINDDIR\fP is set, or in the directory
2b35d3
-\fB/usr/lib/Xm/bindings\fP if \fBXMBINDDIR\fP is not set\&.
2b35d3
+\fB/usr/share/X11/bindings\fP if \fBXMBINDDIR\fP is not set\&.
2b35d3
 If this file exists Motif searches it for a pathname associated with the
2b35d3
 vendor string or with the vendor string and vendor release\&.
2b35d3
 If it finds such a pathname and if that file exists, Motif loads the
2b35d3
diff -up openmotif-2.3.3/lib/Xm/XmosP.h.bindings openmotif-2.3.3/lib/Xm/XmosP.h
2b35d3
--- openmotif-2.3.3/lib/Xm/XmosP.h.bindings	2002-06-17 22:36:30.000000000 +0200
2b35d3
+++ openmotif-2.3.3/lib/Xm/XmosP.h	2010-03-19 11:11:42.000000000 +0100
2b35d3
@@ -188,7 +188,7 @@ extern "C" {
2b35d3
 
2b35d3
 #define XMBINDDIR "XMBINDDIR"
2b35d3
 #ifndef XMBINDDIR_FALLBACK
2b35d3
-#define XMBINDDIR_FALLBACK "/usr/lib/Xm/bindings"
2b35d3
+#define XMBINDDIR_FALLBACK "/usr/share/X11/bindings"
2b35d3
 #endif
2b35d3
 #define XMBINDFILE "xmbind.alias"
2b35d3
 #define MOTIFBIND ".motifbind"