1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

* 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
This commit is contained in:
Eelco Dolstra 2007-06-11 14:33:05 +00:00
parent 03668c40c5
commit efba820026
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,23 @@
--- 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 */

View file

@ -8,4 +8,5 @@ stdenv.mkDerivation {
};
buildInputs = [x11];
propagatedBuildInputs = [libXp libXau];
patches = [./c-linkage.patch];
}