packages: upx/upx.spec, upx/upx-pefile.patch (NEW) - rel 3; with pefile patch
cactus
cactus at pld-linux.org
Fri Aug 28 16:11:08 CEST 2009
Author: cactus Date: Fri Aug 28 14:11:08 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 3; with pefile patch
---- Files affected:
packages/upx:
upx.spec (1.35 -> 1.36) , upx-pefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/upx/upx.spec
diff -u packages/upx/upx.spec:1.35 packages/upx/upx.spec:1.36
--- packages/upx/upx.spec:1.35 Wed Jun 11 17:51:10 2008
+++ packages/upx/upx.spec Fri Aug 28 16:11:03 2009
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Program pakujący pliki wykonywalne
Name: upx
Version: 3.03
-Release: 2
+Release: 3
License: GPL v2+
Group: Development/Tools
Source0: http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2
@@ -11,6 +11,7 @@
Source1: http://dl.sourceforge.net/sevenzip/lzma443.tar.bz2
# Source1-md5: c4e1b467184c7cffd4371c74df2baf0f
URL: http://upx.sourceforge.net/
+Patch0: %{name}-pefile.patch
BuildRequires: libstdc++-devel
BuildRequires: rpmbuild(macros) >= 1.167
BuildRequires: ucl-devel >= 1.01
@@ -34,6 +35,7 @@
%prep
%setup -q -n %{name}-%{version}-src -a1
+%patch -p1
%build
%{__make} -C doc
@@ -68,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.36 2009/08/28 14:11:03 cactus
+- rel 3; with pefile patch
+
Revision 1.35 2008/06/11 15:51:10 hawk
- release 2
================================================================
Index: packages/upx/upx-pefile.patch
diff -u /dev/null packages/upx/upx-pefile.patch:1.1
--- /dev/null Fri Aug 28 16:11:08 2009
+++ packages/upx/upx-pefile.patch Fri Aug 28 16:11:03 2009
@@ -0,0 +1,13 @@
+--- upx-3.03-src/src/pefile.cpp.orig 2008-04-27 17:03:00.000000000 +0200
++++ upx-3.03-src/src/pefile.cpp 2009-08-28 16:02:31.000000000 +0200
+@@ -1349,8 +1349,8 @@
+ // FIXME this comparison is not too exact
+ while (1)
+ {
+- char *delim1 = strchr(keep, '/');
+- char *delim2 = strchr(keep, ',');
++ const char *delim1 = strchr(keep, '/');
++ const char *delim2 = strchr(keep, ',');
+ if (helper::match(itype, ntype, keep))
+ {
+ if (!delim1)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upx/upx.spec?r1=1.35&r2=1.36&f=u
More information about the pld-cvs-commit
mailing list