summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/irrlicht/files/0.7.1-system-libs.patch')
-rw-r--r--dev-games/irrlicht/files/0.7.1-system-libs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-games/irrlicht/files/0.7.1-system-libs.patch b/dev-games/irrlicht/files/0.7.1-system-libs.patch
new file mode 100644
index 000000000000..a86a62c29a79
--- /dev/null
+++ b/dev-games/irrlicht/files/0.7.1-system-libs.patch
@@ -0,0 +1,18 @@
+--- Makefile.orig 2004-09-08 19:04:52.000000000 +0200
++++ Makefile 2004-09-12 09:29:21.967216112 +0200
+@@ -7,14 +7,10 @@
+ LIBS = -L"/usr/X11R6/lib" -L"jpeglib" -L"zlib" --no-export-all-symbols --add-stdcall-alias -lGL -lXxf86vm -lz -ljpeg
+ CXXINCS = -I"include/"
+ BIN = libIrrlicht.a
+-CXXFLAGS = $(CXXINCS) -DIRRLICHT_EXPORTS=1
++CXXFLAGS += $(CXXINCS) -DIRRLICHT_EXPORTS=1
+
+ all: $(LINKOBJ) $(BIN)
+- make -C jpeglib -f makefile.ansi libjpeg.a
+- make -C zlib -f Makefile
+ cp libIrrlicht.a ../../lib/Linux/
+- cp zlib/libz.a ../../lib/Linux
+- cp jpeglib/libjpeg.a ../../lib/Linux
+
+ clean:
+ rm -f $(LINKOBJ) $(BIN)