summaryrefslogtreecommitdiffstats
path: root/extra/lesstif/c++fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lesstif/c++fix.patch')
-rw-r--r--extra/lesstif/c++fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/lesstif/c++fix.patch b/extra/lesstif/c++fix.patch
new file mode 100644
index 000000000..3861c097f
--- /dev/null
+++ b/extra/lesstif/c++fix.patch
@@ -0,0 +1,17 @@
+--- lesstif-0.95.0/include/Motif-2.1/Xm/VendorSP.h.BAD 2006-08-30 11:00:30.000000000 -0500
++++ lesstif-0.95.0/include/Motif-2.1/Xm/VendorSP.h 2006-08-30 11:00:47.000000000 -0500
+@@ -28,12 +28,13 @@
+
+ #include <Xm/XmP.h>
+ #include <Xm/VendorS.h>
+-#include <X11/ShellP.h>
+
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
++#include <X11/ShellP.h>
++
+ XMLIBEXPORT extern Cardinal _XmFilterResources(XtResource *resources,
+ Cardinal numResources,
+ WidgetClass filterClass,