rpms/optipng/devel optipng-0.5.5-log.patch, NONE, 1.1 optipng.spec, 1.7, 1.8
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Wed Feb 13 23:31:16 UTC 2008
Author: scop
Update of /cvs/pkgs/rpms/optipng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10116
Modified Files:
optipng.spec
Added Files:
optipng-0.5.5-log.patch
Log Message:
* Thu Feb 14 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.5.5-4
- Apply sf.net patch #1790969 to fix crash with -log.
- Cosmetic specfile changes.
optipng-0.5.5-log.patch:
--- NEW FILE optipng-0.5.5-log.patch ---
--- src/optipng.c_orig 2007-09-09 10:02:38.000000000 +0200
+++ src/optipng.c 2007-09-09 10:03:56.000000000 +0200
@@ -298,6 +298,8 @@
vfprintf(confile, fmt, arg_ptr);
if (global.logfile != NULL)
{
+ va_end(arg_ptr);
+ va_start(arg_ptr, fmt);
vfprintf(global.logfile, fmt, arg_ptr);
fflush(global.logfile);
}
Index: optipng.spec
===================================================================
RCS file: /cvs/pkgs/rpms/optipng/devel/optipng.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- optipng.spec 2 Aug 2007 21:30:12 -0000 1.7
+++ optipng.spec 13 Feb 2008 23:30:35 -0000 1.8
@@ -1,12 +1,14 @@
Name: optipng
Version: 0.5.5
-Release: 3%{?dist}
-Summary: A PNG optimizer and converter
+Release: 4%{?dist}
+Summary: PNG optimizer and converter
Group: Applications/Multimedia
License: zlib
URL: http://optipng.sourceforge.net/
-Source0: http://surfnet.dl.sourceforge.net/sourceforge/optipng/optipng-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/optipng/%{name}-%{version}.tar.gz
+# Patch0: http://sourceforge.net/tracker/index.php?func=detail&aid=1790969&group_id=151404&atid=780913
+Patch0: optipng-0.5.5-log.patch
Patch1: optipng-0.5.4-makefile-externlibs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -21,6 +23,7 @@
%prep
%setup -q
+%patch0 -p0
%patch1 -p1
%define makefile gcc.mak
@@ -47,10 +50,14 @@
%defattr(-,root,root,-)
%doc README.txt LICENSE.txt doc/*
%{_bindir}/optipng
-%{_mandir}/man1/optipng.1.gz
+%{_mandir}/man1/optipng.1*
%changelog
+* Thu Feb 14 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.5.5-4
+- Apply sf.net patch #1790969 to fix crash with -log.
+- Cosmetic specfile changes.
+
* Thu Aug 02 2007 Till Maas <opensource till name> - 0.5.5-3
- update License: Tag according to new Guidelines
More information about the fedora-extras-commits
mailing list