summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-10-20 20:58:39 +0000
committerMarkus Meier <maekke@gentoo.org>2008-10-20 20:58:39 +0000
commit986a86bdd8bfec6c74c0d8061c5bb64e6eda9970 (patch)
tree2006f87fe9693fa57ca34b2a242c608a502c2dab /media-gfx/tuxpaint/files
parentVersion bump. Now installs scanpci except when USE=minimal. (diff)
downloadgentoo-2-986a86bdd8bfec6c74c0d8061c5bb64e6eda9970.tar.gz
gentoo-2-986a86bdd8bfec6c74c0d8061c5bb64e6eda9970.tar.bz2
gentoo-2-986a86bdd8bfec6c74c0d8061c5bb64e6eda9970.zip
fix libpng linking, reported in bug #242790
(Portage version: 2.2_rc12/cvs/Linux 2.6.27.1 i686)
Diffstat (limited to 'media-gfx/tuxpaint/files')
-rw-r--r--media-gfx/tuxpaint/files/tuxpaint-0.9.19-libpng.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-gfx/tuxpaint/files/tuxpaint-0.9.19-libpng.patch b/media-gfx/tuxpaint/files/tuxpaint-0.9.19-libpng.patch
new file mode 100644
index 000000000000..4ec56d4ec811
--- /dev/null
+++ b/media-gfx/tuxpaint/files/tuxpaint-0.9.19-libpng.patch
@@ -0,0 +1,19 @@
+diff -ru tuxpaint-0.9.19.orig/Makefile tuxpaint-0.9.19/Makefile
+--- tuxpaint-0.9.19.orig/Makefile 2008-10-20 00:06:22.000000000 +0200
++++ tuxpaint-0.9.19/Makefile 2008-10-20 00:07:24.000000000 +0200
+@@ -130,6 +130,7 @@
+ -I/usr/include/cairo
+
+ PAPER_LIB=-lpaper
++PNG_LIB=-lpng12
+ ARCH_LIBS=obj/postscript_print.o
+
+
+@@ -925,6 +926,7 @@
+ $(SDL_LIBS) \
+ $(SVG_LIB) \
+ $(PAPER_LIB) \
++ $(PNG_LIB) \
+ $(ARCH_LINKS)
+ @$(RSRC_CMD)
+ @$(MIMESET_CMD)