From cd07ad18df64bb13617bc0fa375d72e393f08625 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 11 Dec 2010 02:11:41 +0100 Subject: fix cross-compile on non-Linux --- package/fltk/Makefile | 2 +- package/fltk/patches/patch-configure | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 package/fltk/patches/patch-configure 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*) -- cgit v1.2.3