Rebuilt for libpng16
authorYaakov Selkowitz <yselkowi@redhat.com>
Sun, 4 Jan 2015 18:33:26 +0000 (12:33 -0600)
committerYaakov Selkowitz <yselkowi@redhat.com>
Sun, 4 Jan 2015 18:33:26 +0000 (12:33 -0600)
0.2.2-compile.patch [new file with mode: 0644]
libgxps.cygport

diff --git a/0.2.2-compile.patch b/0.2.2-compile.patch
new file mode 100644 (file)
index 0000000..7fecece
--- /dev/null
@@ -0,0 +1,10 @@
+--- origsrc/libgxps-0.2.2/tools/gxps-png-writer.c      2011-11-25 04:12:54.000000000 -0600
++++ src/libgxps-0.2.2/tools/gxps-png-writer.c  2015-01-04 12:29:23.246384500 -0600
+@@ -22,6 +22,7 @@
+ #include "gxps-png-writer.h"
+ #include <png.h>
+ #include <stdint.h>
++#include <string.h>
+ /* starting with libpng15, png.h no longer #includes zlib.h */
+ #ifndef Z_BEST_COMPRESSION
index fb503138dea69405644787e64905fe9c2be6913c..76e4b85903ebed99ca7a2807c721207f0ccfbbc5 100644 (file)
@@ -2,12 +2,14 @@ inherit gnome2
 
 NAME="libgxps"
 VERSION=0.2.2
-RELEASE=2
+RELEASE=3
 CATEGORY="Libs"
 SUMMARY="GNOME OpenXPS library"
 DESCRIPTION="libgxps is a GObject based library for handling and rendering XPS
 documents."
 
+PATCH_URI="0.2.2-compile.patch"
+
 DEPEND="gnome-common gtk-doc
        pkgconfig(cairo)
        pkgconfig(freetype2)
This page took 0.060982 seconds and 5 git commands to generate.