rpms/upx/devel upx-3.03-pefile-strictproto.patch, NONE, 1.1 upx.spec, 1.19, 1.20

Jon Ciesla limb at fedoraproject.org
Fri Feb 27 16:31:23 UTC 2009


Author: limb

Update of /cvs/pkgs/rpms/upx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11412

Modified Files:
	upx.spec 
Added Files:
	upx-3.03-pefile-strictproto.patch 
Log Message:
Fix.


upx-3.03-pefile-strictproto.patch:

--- NEW FILE upx-3.03-pefile-strictproto.patch ---
--- src/pefile.cpp.orig	2009-02-27 10:01:44.000000000 -0600
+++ src/pefile.cpp	2009-02-27 10:01:44.000000000 -0600
@@ -1352,2 +1352,2 @@
-        char *delim1 = strchr(keep, '/');
-        char *delim2 = strchr(keep, ',');
+        const char *delim1 = strchr(keep, '/');
+        const char *delim2 = strchr(keep, ',');


Index: upx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/upx/devel/upx.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- upx.spec	25 Feb 2009 23:20:00 -0000	1.19
+++ upx.spec	27 Feb 2009 16:30:53 -0000	1.20
@@ -1,12 +1,13 @@
 Name:           upx
 Version:        3.03
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Ultimate Packer for eXecutables
 
 Group:          Applications/Archiving
 License:        GPLv2+
 URL:            http://upx.sourceforge.net/
 Source0:        http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2
+Patch0:		upx-3.03-pefile-strictproto.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  ucl-devel >= 1.01
@@ -23,6 +24,7 @@
 %setup -q -n %{name}-%{version}-src
 sed -i -e 's/ -O2/ /' -e 's/ -Werror//' src/Makefile
 
+%patch0 -p0
 
 %build
 export CXXFLAGS="$RPM_OPT_FLAGS" # export, not to make so it won't trump all
@@ -48,6 +50,9 @@
 
 
 %changelog
+* Fri Feb 27 2009 Jon Ciesla <limb at jcomserv.net> - 3.03-3
+- Patch for stricter glibc.
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.03-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list