summaryrefslogtreecommitdiffstats
path: root/opensuse/tdelibs/gcc44.diff
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-13 12:21:22 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-13 12:21:22 -0500
commitf65bcb8326e06816d7dc49e58bda120182dbbcd6 (patch)
tree4e7fef001fc523929450778d10c86b41e6e32eda /opensuse/tdelibs/gcc44.diff
parent131df957b41b4683571b1e36e6fed9d614d32356 (diff)
parentfa41f32b69994ecd75b7359fa2df08ea5a3480ab (diff)
downloadtde-packaging-f65bcb8326e06816d7dc49e58bda120182dbbcd6.tar.gz
tde-packaging-f65bcb8326e06816d7dc49e58bda120182dbbcd6.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'opensuse/tdelibs/gcc44.diff')
-rw-r--r--opensuse/tdelibs/gcc44.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/opensuse/tdelibs/gcc44.diff b/opensuse/tdelibs/gcc44.diff
new file mode 100644
index 000000000..f191e1202
--- /dev/null
+++ b/opensuse/tdelibs/gcc44.diff
@@ -0,0 +1,20 @@
+--- kioslave/ftp/ftp.cc.sav 2009-05-29 13:38:11.000000000 +0200
++++ kioslave/ftp/ftp.cc 2009-05-29 13:38:38.000000000 +0200
+@@ -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;
+