summaryrefslogtreecommitdiff
path: root/source/l/lesstif/lesstif.gcc42.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/lesstif/lesstif.gcc42.diff')
-rw-r--r--source/l/lesstif/lesstif.gcc42.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/source/l/lesstif/lesstif.gcc42.diff b/source/l/lesstif/lesstif.gcc42.diff
new file mode 100644
index 00000000..5c3bf12a
--- /dev/null
+++ b/source/l/lesstif/lesstif.gcc42.diff
@@ -0,0 +1,23 @@
+--- ./include/Motif-2.1/Xm/VendorSP.h.orig 2004-08-28 14:23:27.000000000 -0500
++++ ./include/Motif-2.1/Xm/VendorSP.h 2009-03-16 15:29:38.000000000 -0500
+@@ -30,10 +30,6 @@
+ #include <Xm/VendorS.h>
+ #include <X11/ShellP.h>
+
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+ XMLIBEXPORT extern Cardinal _XmFilterResources(XtResource *resources,
+ Cardinal numResources,
+ WidgetClass filterClass,
+@@ -57,9 +53,4 @@
+
+ XMLIBEXPORT extern VendorShellClassRec vendorShellClassRec;
+
+-
+-#ifdef __cplusplus
+-}
+-#endif
+-
+ #endif /* _XM_VENDORSP_H */