SOURCES: pftpfxp-gcc4.patch (NEW) - fixed build with new gcc

tommat tommat at pld-linux.org
Sun Dec 28 23:21:56 CET 2008


Author: tommat                       Date: Sun Dec 28 22:21:56 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed build with new gcc

---- Files affected:
SOURCES:
   pftpfxp-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pftpfxp-gcc4.patch
diff -u /dev/null SOURCES/pftpfxp-gcc4.patch:1.1
--- /dev/null	Sun Dec 28 23:21:57 2008
+++ SOURCES/pftpfxp-gcc4.patch	Sun Dec 28 23:21:51 2008
@@ -0,0 +1,14 @@
+diff -Nur pftpfxp-0.11.4mew6-orig/pftpfxp-mew/src/server.cc pftpfxp-0.11.4mew6/pftpfxp-mew/src/server.cc
+--- pftpfxp-0.11.4mew6-orig/pftpfxp-mew/src/server.cc	2003-11-09 20:51:19.000000000 +0100
++++ pftpfxp-0.11.4mew6/pftpfxp-mew/src/server.cc	2008-12-28 23:18:25.000000000 +0100
+@@ -5357,8 +5357,8 @@
+         finished = FALSE;
+         int f, d;
+         FILELIST **dir_list, **file_list;
+-        dir_list = new (FILELIST *)[dir_count];
+-        file_list = new (FILELIST *)[file_count];
++        dir_list = new FILELIST *[dir_count];
++        file_list = new FILELIST *[file_count];
+ 
+         //make arrays for the sorting
+         fl_temp = this->internal_filelist;
================================================================


More information about the pld-cvs-commit mailing list