summaryrefslogtreecommitdiff
path: root/lesstif
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2007-03-07 18:09:08 +0100
committerJuergen Daubert <jue@jue.li>2007-03-07 18:09:08 +0100
commitcc5dae13677fc1a5b7ecef6bafab0ba6a1f2619d (patch)
treed0cbae8fdca9993bc1533365d9a5edce80df2f69 /lesstif
parent80416a8a9afdc2e578175e2761f55c05c2a7738b (diff)
downloadopt-cc5dae13677fc1a5b7ecef6bafab0ba6a1f2619d.tar.gz
opt-cc5dae13677fc1a5b7ecef6bafab0ba6a1f2619d.tar.xz
lesstif: added patch to build xpdf
Diffstat (limited to 'lesstif')
-rw-r--r--lesstif/.md5sum1
-rw-r--r--lesstif/Pkgfile5
-rw-r--r--lesstif/lesstif-0.95.0-c++fix.patch17
3 files changed, 21 insertions, 2 deletions
diff --git a/lesstif/.md5sum b/lesstif/.md5sum
index bc4262580..93a653101 100644
--- a/lesstif/.md5sum
+++ b/lesstif/.md5sum
@@ -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
diff --git a/lesstif/Pkgfile b/lesstif/Pkgfile
index 06b801ff8..062c792ff 100644
--- a/lesstif/Pkgfile
+++ b/lesstif/Pkgfile
@@ -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"
diff --git a/lesstif/lesstif-0.95.0-c++fix.patch b/lesstif/lesstif-0.95.0-c++fix.patch
new file mode 100644
index 000000000..3861c097f
--- /dev/null
+++ b/lesstif/lesstif-0.95.0-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,

Generated by cgit