packages: partimage/partimage.spec, partimage/partimage-glibc.patch (NEW) -...

cactus cactus at pld-linux.org
Fri Aug 28 12:08:15 CEST 2009


Author: cactus                       Date: Fri Aug 28 10:08:15 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 5; with glibc 2.10 patch

---- Files affected:
packages/partimage:
   partimage.spec (1.60 -> 1.61) , partimage-glibc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/partimage/partimage.spec
diff -u packages/partimage/partimage.spec:1.60 packages/partimage/partimage.spec:1.61
--- packages/partimage/partimage.spec:1.60	Fri Jan 23 23:22:25 2009
+++ packages/partimage/partimage.spec	Fri Aug 28 12:08:09 2009
@@ -4,7 +4,7 @@
 Summary(pt_BR.UTF-8):	Ferramenta para criar e restaurar backup de partições
 Name:		partimage
 Version:	0.6.7
-Release:	4
+Release:	5
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/partimage/%{name}-%{version}.tar.bz2
@@ -16,6 +16,7 @@
 Patch0:		%{name}-gcc43.patch
 Patch1:		%{name}-1056397.patch
 Patch2:		%{name}-fix_debug.patch
+Patch3:		%{name}-glibc.patch
 URL:		http://www.partimage.org/
 BuildRequires:	automake
 BuildRequires:	bzip2-devel
@@ -106,6 +107,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -204,6 +206,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2009/08/28 10:08:09  cactus
+- rel 5; with glibc 2.10 patch
+
 Revision 1.60  2009/01/23 22:22:25  areq
 - remove: cp -f /usr/lib/rpm/mkinstalldirs .
 

================================================================
Index: packages/partimage/partimage-glibc.patch
diff -u /dev/null packages/partimage/partimage-glibc.patch:1.1
--- /dev/null	Fri Aug 28 12:08:15 2009
+++ packages/partimage/partimage-glibc.patch	Fri Aug 28 12:08:09 2009
@@ -0,0 +1,12 @@
+diff -Naur partimage-0.6.7/src/client/misc.cpp partimage-0.6.7-new/src/client/misc.cpp
+--- partimage-0.6.7/src/client/misc.cpp	2008-02-03 19:58:00.000000000 -0200
++++ partimage-0.6.7-new/src/client/misc.cpp	2009-02-26 12:57:45.000000000 -0300
+@@ -2372,7 +2372,7 @@
+ 
+ static char *sfdisk_line_to_partition_device(const char *line)
+ {
+-  if (char *p = strchr(line, ':')) {
++  if (const char *p = strchr(line, ':')) {
+     while (p[-1] == ' ' && p > line) p--;
+     return strndup(line, p - line);
+   } else {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/partimage/partimage.spec?r1=1.60&r2=1.61&f=u



More information about the pld-cvs-commit mailing list