diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-21 21:56:06 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-21 21:56:06 +0000 |
commit | 8eae2b17119045ea110c3a3c6c60e992b7a6089d (patch) | |
tree | 7e10b61c96fc8f8f959c2077440b37c88f52c812 /kde-base/kdelibs/files | |
parent | Typo in doc install (diff) | |
download | gentoo-2-8eae2b17119045ea110c3a3c6c60e992b7a6089d.tar.gz gentoo-2-8eae2b17119045ea110c3a3c6c60e992b7a6089d.tar.bz2 gentoo-2-8eae2b17119045ea110c3a3c6c60e992b7a6089d.zip |
Fix glibc-2.10 compilation ( Bug 270404 )
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r-- | kde-base/kdelibs/files/kdelibs-3.5.10-glibc-2.10.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-3.5.10-glibc-2.10.patch b/kde-base/kdelibs/files/kdelibs-3.5.10-glibc-2.10.patch new file mode 100644 index 000000000000..9196c0a5c921 --- /dev/null +++ b/kde-base/kdelibs/files/kdelibs-3.5.10-glibc-2.10.patch @@ -0,0 +1,21 @@ +diff -up kdelibs-3.5.10/kioslave/ftp/ftp.cc.orig kdelibs-3.5.10/kioslave/ftp/ftp.cc +--- kdelibs-3.5.10/kioslave/ftp/ftp.cc.orig 2009-02-25 13:18:13.000000000 +0100 ++++ kdelibs-3.5.10/kioslave/ftp/ftp.cc 2009-02-25 13:34:13.000000000 +0100 +@@ -876,7 +876,7 @@ int Ftp::ftpOpenPASVDataConnection() + // The usual answer is '227 Entering Passive Mode. (160,39,200,55,6,245)' + // but anonftpd gives '227 =160,39,200,55,6,245' + int i[6]; +- char *start = strchr(ftpResponse(3), '('); ++ const char *start = strchr(ftpResponse(3), '('); + if ( !start ) + start = strchr(ftpResponse(3), '='); + if ( !start || +@@ -931,7 +931,7 @@ int Ftp::ftpOpenEPSVDataConnection() + return ERR_INTERNAL; + } + +- char *start = strchr(ftpResponse(3), '|'); ++ const char *start = strchr(ftpResponse(3), '|'); + if ( !start || sscanf(start, "|||%d|", &portnum) != 1) + return ERR_INTERNAL; + |