packages: cvsnt/cvsnt-gcc4.patch - fixed now

baggins baggins at pld-linux.org
Fri Jul 3 15:24:11 CEST 2009


Author: baggins                      Date: Fri Jul  3 13:24:10 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed now

---- Files affected:
packages/cvsnt:
   cvsnt-gcc4.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/cvsnt/cvsnt-gcc4.patch
diff -u packages/cvsnt/cvsnt-gcc4.patch:1.2 packages/cvsnt/cvsnt-gcc4.patch:1.3
--- packages/cvsnt/cvsnt-gcc4.patch:1.2	Fri Jul  3 15:10:26 2009
+++ packages/cvsnt/cvsnt-gcc4.patch	Fri Jul  3 15:24:05 2009
@@ -10,11 +10,12 @@
  
 --- cvsnt-2.5.04.3236/src/filesubr.cpp~	2006-08-17 23:33:30.000000000 +0200
 +++ cvsnt-2.5.04.3236/src/filesubr.cpp	2009-07-03 15:05:48.195587407 +0200
-@@ -19,6 +19,7 @@
- 
- #include "cvs.h"
- #include <zlib.h>
-+#include <cstring>
- 
- #ifdef MAC_HFS_STUFF
- 	#include "mac_copy_file.h"
+@@ -1230,7 +1230,7 @@
+ /* Return a pointer into PATH's last component.  */
+ const char *last_component (const char *path)
+ {
+-    char *last = strrchr (path, '/');
++    char *last = strrchr ((char *)path, '/');
+     
+     if (last && (last != path))
+         return last + 1;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cvsnt/cvsnt-gcc4.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list