lesstif: added patch to build xpdf
This commit is contained in:
parent
80416a8a9a
commit
cc5dae1367
@ -1,2 +1,3 @@
|
||||
b8caafffe583951e8525b145a4f78174 lesstif-0.95.0-c++fix.patch
|
||||
10373c1e87b0208cd26888011a4d92de lesstif-0.95.0-xpm.patch
|
||||
ab895165c149d7f95843c7584b1c7ad4 lesstif-0.95.0.tar.bz2
|
||||
|
@ -6,13 +6,14 @@
|
||||
|
||||
name=lesstif
|
||||
version=0.95.0
|
||||
release=2
|
||||
release=3
|
||||
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \
|
||||
$name-$version-xpm.patch)
|
||||
$name-$version-xpm.patch $name-$version-c++fix.patch)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p1 < ../$name-$version-xpm.patch
|
||||
patch -p1 < ../$name-$version-c++fix.patch
|
||||
autoconf
|
||||
|
||||
export CFLAGS="$CFLAGS -L$PKG/usr/lib"
|
||||
|
17
lesstif/lesstif-0.95.0-c++fix.patch
Normal file
17
lesstif/lesstif-0.95.0-c++fix.patch
Normal file
@ -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,
|
Loading…
x
Reference in New Issue
Block a user