summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-06-01 19:17:46 +0000
committerMarkus Meier <maekke@gentoo.org>2009-06-01 19:17:46 +0000
commitbc61593e8020c3b362f50c0ec879246d14b7b581 (patch)
tree659fb0862cb1fff463a86fc57926e55e4ef2dba9 /media-gfx/pngrewrite/files
parentSparc stable, Bug #250349. (diff)
downloadgentoo-2-bc61593e8020c3b362f50c0ec879246d14b7b581.tar.gz
gentoo-2-bc61593e8020c3b362f50c0ec879246d14b7b581.tar.bz2
gentoo-2-bc61593e8020c3b362f50c0ec879246d14b7b581.zip
fix building with gcc-4.4, bug #272120
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'media-gfx/pngrewrite/files')
-rw-r--r--media-gfx/pngrewrite/files/pngrewrite-1.3.0-gcc44.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-gfx/pngrewrite/files/pngrewrite-1.3.0-gcc44.patch b/media-gfx/pngrewrite/files/pngrewrite-1.3.0-gcc44.patch
new file mode 100644
index 000000000000..e514c5d3fa7c
--- /dev/null
+++ b/media-gfx/pngrewrite/files/pngrewrite-1.3.0-gcc44.patch
@@ -0,0 +1,19 @@
+--- pngrewrite.c.orig 2009-06-01 21:12:19.000000000 +0200
++++ pngrewrite.c 2009-06-01 21:12:29.000000000 +0200
+@@ -89,6 +89,7 @@
+ //#define PNGRW_SUPPORT_1_ARG_MODE
+ #define PNGRW_PALSORT_BY_FREQUENCY
+
++#include <png.h>
+
+ #include <stdio.h>
+ #include <string.h>
+@@ -109,8 +110,6 @@
+ #include <unistd.h> /* for isatty() */
+ #endif
+
+-#include <png.h>
+-
+ struct errstruct {
+ jmp_buf jbuf;
+ char errmsg[200];