summaryrefslogtreecommitdiffstats
path: root/package/fltk/fltk-1.1.7-disable-test.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-21 16:11:25 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-21 16:14:17 +0200
commit584921cb87b66f6c2dd8d080593137ed64a529d0 (patch)
treedc178785fa0484cf3527e6883acc65a13d21e604 /package/fltk/fltk-1.1.7-disable-test.patch
parentf3122259e2cbbc0be0fc02820a146b4e4f48bef6 (diff)
downloadbuildroot-novena-584921cb87b66f6c2dd8d080593137ed64a529d0.tar.gz
buildroot-novena-584921cb87b66f6c2dd8d080593137ed64a529d0.zip
fltk: fix build
The build of fltk was failing due to an issue in the usage of scandir(). This issue is fixed by a new patch, fltk-1.1.7-scandir-fix.patch. Moreover, this problem was not necessarly visible, as the build process of FLTK didn't bail out with an error when it was failing. This if fixed by fltk-1.1.7-bail-out-on-error.patch. Finally, there was a problem with the tests of FLTK, so we disabled them. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fltk/fltk-1.1.7-disable-test.patch')
-rw-r--r--package/fltk/fltk-1.1.7-disable-test.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/fltk/fltk-1.1.7-disable-test.patch b/package/fltk/fltk-1.1.7-disable-test.patch
new file mode 100644
index 000000000..c83e1dae0
--- /dev/null
+++ b/package/fltk/fltk-1.1.7-disable-test.patch
@@ -0,0 +1,17 @@
+Disable tests in FLTK because they use the fluid tool on the host.
+
+Patch borrowed from OpenEmbedded.
+
+Index: fltk-1.1.9/Makefile
+===================================================================
+--- fltk-1.1.9.orig/Makefile 2008-06-06 16:14:11.936736201 +0200
++++ fltk-1.1.9/Makefile 2008-06-06 16:14:22.526357637 +0200
+@@ -27,7 +27,7 @@
+
+ include makeinclude
+
+-DIRS = $(IMAGEDIRS) src fluid test documentation
++DIRS = $(IMAGEDIRS) src fluid documentation
+
+ all: makeinclude fltk-config
+ for dir in $(DIRS); do\