[packages/pngnq] - updated to 1.1
adamg
adamg at pld-linux.org
Thu Oct 11 22:36:08 CEST 2018
commit ecda73fba80f7cc206b1fdb534c6be73da415d84
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Thu Oct 11 22:35:51 2018 +0200
- updated to 1.1
pngnq-includes.patch | 10 ++++++++++
pngnq.spec | 6 ++++--
2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/pngnq.spec b/pngnq.spec
index 76bbb72..ab5de97 100644
--- a/pngnq.spec
+++ b/pngnq.spec
@@ -1,12 +1,13 @@
Summary: Pngnq is a tool for quantizing PNG images in RGBA format
Name: pngnq
-Version: 1.0
+Version: 1.1
Release: 1
License: BSD with advertising and MIT and BSD
Group: Applications/Multimedia
URL: http://pngnq.sourceforge.net/
Source0: http://downloads.sourceforge.net/pngnq/%{name}-%{version}.tar.gz
-# Source0-md5: 2d2cdacf0284477c662fee888c8092d5
+# Source0-md5: fdbb94d504931b50c54202b62f98aa44
+Patch0: %{name}-includes.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libpng-devel
@@ -21,6 +22,7 @@ many types of images.
%prep
%setup -q
+%patch0 -p1
%build
%{__aclocal}
diff --git a/pngnq-includes.patch b/pngnq-includes.patch
new file mode 100644
index 0000000..1f05574
--- /dev/null
+++ b/pngnq-includes.patch
@@ -0,0 +1,10 @@
+--- pngnq-1.1/src/rwpng.c~
++++ pngnq-1.1/src/rwpng.c
+@@ -31,6 +31,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <zlib.h>
+
+ #include "png.h" /* libpng header; includes zlib.h */
+ #include "rwpng.h" /* typedefs, common macros, public prototypes */
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pngnq.git/commitdiff/ecda73fba80f7cc206b1fdb534c6be73da415d84
More information about the pld-cvs-commit
mailing list