[packages/libgxps] - rel 5; builds

arekm arekm at pld-linux.org
Sun Nov 3 17:49:50 CET 2013


commit 4be1fea4d4e3d2a61dfea2de4f803394a10174ae
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 3 17:49:47 2013 +0100

    - rel 5; builds

 libgxps-build.patch | 10 ++++++++++
 libgxps.spec        |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/libgxps.spec b/libgxps.spec
index f9249ec..18c1b3d 100644
--- a/libgxps.spec
+++ b/libgxps.spec
@@ -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}
diff --git a/libgxps-build.patch b/libgxps-build.patch
new file mode 100644
index 0000000..888e60f
--- /dev/null
+++ b/libgxps-build.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgxps.git/commitdiff/4be1fea4d4e3d2a61dfea2de4f803394a10174ae



More information about the pld-cvs-commit mailing list