From 263bfd158ddace6b322bfe3bdf4a9769825d17f9 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Fri, 24 Apr 2009 17:23:11 +0200 Subject: fltk2: make it somewhat work; still very hacky, since these people try to be very clever with their multiplatform buildsystem... *sigh* --- recipes/fltk/files/fix-it-damnit.patch | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 recipes/fltk/files/fix-it-damnit.patch (limited to 'recipes/fltk/files/fix-it-damnit.patch') diff --git a/recipes/fltk/files/fix-it-damnit.patch b/recipes/fltk/files/fix-it-damnit.patch new file mode 100644 index 0000000000..ed1effdfc7 --- /dev/null +++ b/recipes/fltk/files/fix-it-damnit.patch @@ -0,0 +1,39 @@ +Index: fltk-2.0.x-r6671/Makefile +=================================================================== +--- fltk-2.0.x-r6671.orig/Makefile ++++ fltk-2.0.x-r6671/Makefile +@@ -25,7 +25,7 @@ + + include makeinclude + +-DIRS = src $(LOCALIMAGES) images OpenGL fluid glut test ++DIRS = src $(LOCALIMAGES) images fluid + + all: makeinclude + for dir in $(DIRS); do\ +Index: fltk-2.0.x-r6671/makeinclude.in +=================================================================== +--- fltk-2.0.x-r6671.orig/makeinclude.in ++++ fltk-2.0.x-r6671/makeinclude.in +@@ -79,7 +79,7 @@ + # libraries to link with: + LDLIBS = @LDFLAGS@ @LIBS@ + GLDLIBS = @LDFLAGS@ @GLLIB@ @LIBS@ +-LINKFLTK = -L../lib @LINKFLTK@ ++LINKFLTK = -L../lib @LINKFLTK@ + LINKFLTKGL = -L../lib @LINKFLTKGL@ @LINKFLTK@ + LINKFLTKFORMS = -L../lib -lfltk2_forms @LINKFLTK@ + LOCAL_IMAGELIBS = @LOCAL_IMAGELIBS@ +Index: fltk-2.0.x-r6671/src/Makefile +=================================================================== +--- fltk-2.0.x-r6671.orig/src/Makefile ++++ fltk-2.0.x-r6671/src/Makefile +@@ -235,7 +235,7 @@ + + ../lib/$(DSONAME): $(OBJECTS) + echo $(DSOCOMMAND) $@ $(OBJECTS) -L../lib $(IMAGELIBS) +- $(DSOCOMMAND) $@ $(OBJECTS) $(LDLIBS) ++ $(DSOCOMMAND) $@ $(OBJECTS) $(LDLIBS) -Wl,-soname,$(DSONAME) + $(RM) ../lib/$(DSOLINK) + $(LN) ../lib/$(DSONAME) ../lib/$(DSOLINK) + -- cgit v1.2.3