summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-11 02:11:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-11 02:11:41 +0100
commitcd07ad18df64bb13617bc0fa375d72e393f08625 (patch)
tree35afe7fe076e6283d04d39843eddb2c3fe6dd410
parent211c1620aa5a41d53e79a69e51ce844e9a1b495e (diff)
fix cross-compile on non-Linux
-rw-r--r--package/fltk/Makefile2
-rw-r--r--package/fltk/patches/patch-configure11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/fltk/Makefile b/package/fltk/Makefile
index 01c150ec9..af77c13ed 100644
--- a/package/fltk/Makefile
+++ b/package/fltk/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= fltk
PKG_VERSION:= 2.0
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 557544badbacca4ee1ebb2448f6e1f8a
PKG_DESCR:= fast light toolkit
PKG_SECTION:= libs
diff --git a/package/fltk/patches/patch-configure b/package/fltk/patches/patch-configure
new file mode 100644
index 000000000..d8d16bd72
--- /dev/null
+++ b/package/fltk/patches/patch-configure
@@ -0,0 +1,11 @@
+--- fltk-2.0.x-r7513.orig/configure 2010-04-16 10:02:53.000000000 +0200
++++ fltk-2.0.x-r7513/configure 2010-12-05 21:10:58.000000000 +0100
+@@ -1770,7 +1770,7 @@ FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_
+
+
+
+-uname=`uname`
++uname=Linux
+ uversion=`uname -r | sed -e '1,$s/[^0-9]//g'`
+ case $uname in
+ IRIX*)