3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/lesstif/c-linkage.patch
Eelco Dolstra efba820026 * Quick fix for an incompatibility between libXp and lesstif, which
caused the xpdf build to fail.  Patch from
  http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg101592.html

svn path=/nixpkgs/trunk/; revision=8867
2007-06-11 14:33:05 +00:00

24 lines
602 B
Diff

--- a/include/Motif-2.1/Xm/VendorSP.h 2006-07-07 15:58:04.000000000 +0200
+++ b/include/Motif-2.1/Xm/VendorSP.h 2006-07-07 15:58:19.000000000 +0200
@@ -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 */