]> git.pld-linux.org Git - packages/kdelibs.git/commitdiff
- add gcc 4.4 patch (thx patrys)
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 19 May 2009 12:01:36 +0000 (12:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kdelibs-gcc44.patch -> 1.1

kdelibs-gcc44.patch [new file with mode: 0644]

diff --git a/kdelibs-gcc44.patch b/kdelibs-gcc44.patch
new file mode 100644 (file)
index 0000000..d8a3ec0
--- /dev/null
@@ -0,0 +1,23 @@
+--- kdelibs-3.5.10/kioslave/ftp/ftp.cc~        2009-05-19 14:57:21.000000000 +0300
++++ kdelibs-3.5.10/kioslave/ftp/ftp.cc 2009-05-19 14:57:24.016475767 +0300
+@@ -876,9 +876,9 @@
+   // 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), '(');
++  char *start = strchr((char *)ftpResponse(3), '(');
+   if ( !start )
+-    start = strchr(ftpResponse(3), '=');
++    start = strchr((char *)ftpResponse(3), '=');
+   if ( !start ||
+        ( sscanf(start, "(%d,%d,%d,%d,%d,%d)",&i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6 &&
+          sscanf(start, "=%d,%d,%d,%d,%d,%d", &i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6 ) )
+@@ -931,7 +931,7 @@
+     return ERR_INTERNAL;
+   }
+-  char *start = strchr(ftpResponse(3), '|');
++  char *start = strchr((char *)ftpResponse(3), '|');
+   if ( !start || sscanf(start, "|||%d|", &portnum) != 1)
+     return ERR_INTERNAL;
This page took 0.08829 seconds and 4 git commands to generate.