]> git.pld-linux.org Git - packages/libgxps.git/commitdiff
- rel 5; builds auto/th/libgxps-0.2.2-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 3 Nov 2013 16:49:47 +0000 (17:49 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 3 Nov 2013 16:49:47 +0000 (17:49 +0100)
libgxps-build.patch [new file with mode: 0644]
libgxps.spec

diff --git a/libgxps-build.patch b/libgxps-build.patch
new file mode 100644 (file)
index 0000000..888e60f
--- /dev/null
@@ -0,0 +1,10 @@
+--- libgxps-0.2.2/tools/gxps-png-writer.c~     2011-11-25 11:12:54.000000000 +0100
++++ libgxps-0.2.2/tools/gxps-png-writer.c      2013-11-03 17:48:22.199703926 +0100
+@@ -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 f9249ec439fe816ec5ded33bf56779903d1d22bf..18c1b3d115e733ecdf40c09a9fb76dd8aeef1db8 100644 (file)
@@ -2,11 +2,12 @@ Summary:      XPS documents library
 Summary(pl.UTF-8):     Biblioteka do obsługi dokumentów XPS
 Name:          libgxps
 Version:       0.2.2
-Release:       4
+Release:       5
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/libgxps/0.2/%{name}-%{version}.tar.xz
 # Source0-md5: 65bec2033ff71307f429dc3f91d60233
+Patch0:                %{name}-build.patch
 URL:           http://live.gnome.org/libgxps
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1:1.10
@@ -80,6 +81,7 @@ Dokumentacja API biblioteki libgxps.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.191026 seconds and 4 git commands to generate.