Index: head/devel/gcvs/files/patch-common-UCvsFiles.cpp =================================================================== --- head/devel/gcvs/files/patch-common-UCvsFiles.cpp (revision 433102) +++ head/devel/gcvs/files/patch-common-UCvsFiles.cpp (revision 433103) @@ -1,29 +1,47 @@ --- common/UCvsFiles.cpp.orig 2002-08-13 13:46:40.000000000 +0200 +++ common/UCvsFiles.cpp 2007-11-22 21:01:27.000000000 +0100 @@ -201,7 +201,7 @@ #define NUM_COLUMNS 7 -static char *_gszColumnLabel[NUM_COLUMNS] = +static const char *_gszColumnLabel[NUM_COLUMNS] = { "Name", "Rev.", "Option", "Status", "Tag", "Date", "Conflict" }; @@ -1214,7 +1214,7 @@ { UStr uppath, filename; SplitPath(m_path, uppath, filename); - ResetView(uppath, true); + ResetView( (const char *)uppath, true); return 0; } @@ -1895,7 +1895,7 @@ fullpath << (*data)[EntnodeData::kName]; if(data->GetType() == ENT_SUBDIR) { - ResetView(fullpath, true); + ResetView( (const char *)fullpath, true); } else { +@@ -2017,7 +2017,7 @@ static int revcmp(const char *rev1, cons + char *tmp; + int v1, v2; + +- if((tmp = strchr(r1, '.')) != 0L) ++ if((tmp = strchr((char *)r1, '.')) != 0L) + { + tmp[0] = '\0'; + q1 = tmp + 1; +@@ -2025,7 +2025,7 @@ static int revcmp(const char *rev1, cons + + v1 = atoi(r1); + +- if((tmp = strchr(r2, '.')) != 0L) ++ if((tmp = strchr((char *)r2, '.')) != 0L) + { + tmp[0] = '\0'; + q2 = tmp + 1; Index: head/devel/gcvs/files/patch-common_AppGlue.cpp =================================================================== --- head/devel/gcvs/files/patch-common_AppGlue.cpp (nonexistent) +++ head/devel/gcvs/files/patch-common_AppGlue.cpp (revision 433103) @@ -0,0 +1,11 @@ +--- common/AppGlue.cpp.orig 2002-03-12 18:34:31 UTC ++++ common/AppGlue.cpp +@@ -260,7 +260,7 @@ CVS_EXTERN_C const char *glue_getenv(cha + // extract from the cvsroot + const char *ccvsroot = gCvsPrefs; + ccvsroot = Authen::skiptoken(ccvsroot); +- char *login = strchr(ccvsroot, '@'); ++ const char *login = strchr(ccvsroot, '@'); + if(login == NULL) + { + // for WIN32 this means the CVSROOT is local Property changes on: head/devel/gcvs/files/patch-common_AppGlue.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/gcvs/files/patch-common_CvsArgs.cpp =================================================================== --- head/devel/gcvs/files/patch-common_CvsArgs.cpp (nonexistent) +++ head/devel/gcvs/files/patch-common_CvsArgs.cpp (revision 433103) @@ -0,0 +1,20 @@ +--- common/CvsArgs.cpp.orig 2002-06-27 19:02:08 UTC ++++ common/CvsArgs.cpp +@@ -198,7 +198,7 @@ void CvsArgs::print(const char *indirect + { + CStr newarg; + newarg = argv[i]; +- bool hasLF = strchr(newarg, '\n') != 0L; ++ bool hasLF = strchr((const char*)newarg, '\n') != 0L; + size_t len = newarg.length(); + + if(len > MAX_PRINT_ARG) +@@ -207,7 +207,7 @@ void CvsArgs::print(const char *indirect + if(hasLF) + newarg = expandLF(newarg, buf); + +- bool hasSpace = strchr(newarg, ' ') != 0L; ++ bool hasSpace = strchr((const char*)newarg, ' ') != 0L; + if(hasSpace) + cvs_out("\""); + cvs_outstr(newarg, newarg.length()); Property changes on: head/devel/gcvs/files/patch-common_CvsArgs.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/gcvs/files/patch-common_TextBinary.cpp =================================================================== --- head/devel/gcvs/files/patch-common_TextBinary.cpp (nonexistent) +++ head/devel/gcvs/files/patch-common_TextBinary.cpp (revision 433103) @@ -0,0 +1,11 @@ +--- common/TextBinary.cpp.orig 2003-01-10 14:12:38 UTC ++++ common/TextBinary.cpp +@@ -463,7 +463,7 @@ bool SplitPath(const char *dir, CStr & u + + void GetExtension(const char *file, CStr & base, CStr & ext) + { +- char *tmp = strrchr(file, '.'); ++ const char *tmp = strrchr(file, '.'); + + if(tmp == 0L) + { Property changes on: head/devel/gcvs/files/patch-common_TextBinary.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/gcvs/files/patch-rf_umenu.cpp =================================================================== --- head/devel/gcvs/files/patch-rf_umenu.cpp (nonexistent) +++ head/devel/gcvs/files/patch-rf_umenu.cpp (revision 433103) @@ -0,0 +1,20 @@ +--- rf/umenu.cpp.orig 2001-09-04 02:29:03 UTC ++++ rf/umenu.cpp +@@ -254,7 +254,7 @@ static void GetMenuTitle(const char *nam + // get the accelerator + UStr copy(name); + char *tmp; +- if((tmp = strchr(copy, '\t')) != 0L) ++ if((tmp = strchr((char *)copy, '\t')) != 0L) + { + *tmp++ = '\0'; + if(strncmp(tmp, CTRLALT_STROKE, strlen(CTRLALT_STROKE)) == 0) +@@ -277,7 +277,7 @@ static void GetMenuTitle(const char *nam + + title = name; + #ifndef WIN32 +- if((tmp = strchr(title, '&')) != 0L) ++ if((tmp = strchr((char *)title, '&')) != 0L) + { + size_t l = tmp - (const char *)title; + memmove(&title[l], &title[l + 1], title.length() - l); Property changes on: head/devel/gcvs/files/patch-rf_umenu.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property