rpms/netpbm/devel netpbm-ppmpat-segfault.patch, NONE, 1.1 netpbm.spec, 1.147, 1.148
Jindrich Novy
jnovy at fedoraproject.org
Fri Nov 27 05:40:12 UTC 2009
- Previous message (by thread): rpms/globus-gram-job-manager-scripts/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1
- Next message (by thread): rpms/hunspell-si/devel hunspell-si.spec, NONE, 1.1 import.log, NONE, 1.1 sinhala_spellchecker-0.2-fx.xpi, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jnovy
Update of /cvs/pkgs/rpms/netpbm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19150
Modified Files:
netpbm.spec
Added Files:
netpbm-ppmpat-segfault.patch
Log Message:
* Fri Nov 27 2009 Jindrich Novy <jnovy at redhat.com> 10.47.04-2
- fix ppmpat segfault when using -camo option (#541568)
netpbm-ppmpat-segfault.patch:
libppmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE netpbm-ppmpat-segfault.patch ---
diff -up netpbm-10.47.04/lib/libppmd.c.ppmpat-segfault netpbm-10.47.04/lib/libppmd.c
--- netpbm-10.47.04/lib/libppmd.c.ppmpat-segfault 2009-10-21 13:39:00.000000000 +0200
+++ netpbm-10.47.04/lib/libppmd.c 2009-11-27 06:31:32.000000000 +0100
@@ -1057,8 +1057,8 @@ ppmd_fill_drawprocp(pixel ** const p
if (fh->coords == NULL)
pm_error("out of memory enlarging a fillhandle");
- ocp = &(fh->coords[fh->n - 1]);
}
+ ocp = &(fh->coords[fh->n - 1]);
/* Check for extremum and set the edge number. */
if (fh->n == 0) {
Index: netpbm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/devel/netpbm.spec,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -p -r1.147 -r1.148
--- netpbm.spec 21 Oct 2009 15:11:20 -0000 1.147
+++ netpbm.spec 27 Nov 2009 05:40:12 -0000 1.148
@@ -1,7 +1,7 @@
Summary: A library for handling different graphics file formats
Name: netpbm
Version: 10.47.04
-Release: 1%{?dist}
+Release: 2%{?dist}
# See copyright_summary for details
License: BSD and GPLv2 and IJG and MIT and Public Domain
Group: System Environment/Libraries
@@ -26,6 +26,7 @@ Patch12: netpbm-pamscale.patch
Patch13: netpbm-glibc.patch
Patch14: netpbm-pnmtofiasco-stdin.patch
Patch15: netpbm-svgtopam.patch
+Patch16: netpbm-ppmpat-segfault.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex
BuildRequires: libX11-devel, python, jasper-devel
@@ -82,6 +83,7 @@ netpbm-progs. You'll also need to insta
%patch13 -p1 -b .glibc
%patch14 -p1 -b .pnmtofiasco-stdin
%patch15 -p1 -b .svgtopam
+%patch16 -p1 -b .ppmpat-segfault
sed -i 's/STRIPFLAG = -s/STRIPFLAG =/g' config.mk.in
@@ -109,10 +111,11 @@ sed -i 's/STRIPFLAG = -s/STRIPFLAG =/g'
EOF
TOP=`pwd`
+# CFLAGS="$RPM_OPT_FLAGS -fPIC -flax-vector-conversions" \
make \
CC="%{__cc}" \
LDFLAGS="-L$TOP/pbm -L$TOP/pgm -L$TOP/pnm -L$TOP/ppm" \
- CFLAGS="$RPM_OPT_FLAGS -fPIC -flax-vector-conversions" \
+ CFLAGS="-g3 -fPIC -flax-vector-conversions" \
LADD="-lm" \
JPEGINC_DIR=%{_includedir} \
PNGINC_DIR=%{_includedir} \
@@ -210,6 +213,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/netpbm/
%changelog
+* Fri Nov 27 2009 Jindrich Novy <jnovy at redhat.com> 10.47.04-2
+- fix ppmpat segfault when using -camo option (#541568)
+
* Wed Oct 21 2009 Jindrich Novy <jnovy at redhat.com> 10.47.04-1
- update to 10.47.04 (it is now stable) (#529525)
- Previous message (by thread): rpms/globus-gram-job-manager-scripts/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1
- Next message (by thread): rpms/hunspell-si/devel hunspell-si.spec, NONE, 1.1 import.log, NONE, 1.1 sinhala_spellchecker-0.2-fx.xpi, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list