diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-22 16:38:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-22 16:38:16 +0000 |
commit | 6b9d6989b3ab7222f82ed0e849bdcb86b908fbcd (patch) | |
tree | e1b0a0428c9c745735fca0e64434a1802100f315 /sys-block/partimage/files | |
parent | Remove old file; bump to latest version (2.3.7) closing bug #264331; add patc... (diff) | |
download | historical-6b9d6989b3ab7222f82ed0e849bdcb86b908fbcd.tar.gz historical-6b9d6989b3ab7222f82ed0e849bdcb86b908fbcd.tar.bz2 historical-6b9d6989b3ab7222f82ed0e849bdcb86b908fbcd.zip |
Add patch from Fedora to build with glibc-2.10. Closes bug #270645.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-block/partimage/files')
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.7+glibc-2.10.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-block/partimage/files/partimage-0.6.7+glibc-2.10.patch b/sys-block/partimage/files/partimage-0.6.7+glibc-2.10.patch new file mode 100644 index 000000000000..c8b2fed20ece --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.7+glibc-2.10.patch @@ -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 { |