summaryrefslogtreecommitdiff
path: root/devel/gcvs/files/patch-common_ImportDlg.cpp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-11-22 22:27:29 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-11-22 22:27:29 +0000
commita28acc2928274d9611dcd26224698b08c1caf31b (patch)
tree15bca7999952e7e761849fe0586359115f00ee53 /devel/gcvs/files/patch-common_ImportDlg.cpp
parent- Mark BROKEN on 7.0 again: bad plist (diff)
- Fix build with gcc 4.2/AMD64
PR: 118027 Submitted by: Pietro Cerutti <gahr@gahr.ch> Approved by: portmgr (pav,linimon)
Notes
Notes: svn path=/head/; revision=202797
Diffstat (limited to 'devel/gcvs/files/patch-common_ImportDlg.cpp')
-rw-r--r--devel/gcvs/files/patch-common_ImportDlg.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/gcvs/files/patch-common_ImportDlg.cpp b/devel/gcvs/files/patch-common_ImportDlg.cpp
new file mode 100644
index 000000000000..cb97c73ca138
--- /dev/null
+++ b/devel/gcvs/files/patch-common_ImportDlg.cpp
@@ -0,0 +1,26 @@
+--- common/ImportDlg.cpp.orig 2007-11-13 22:38:26.000000000 +0100
++++ common/ImportDlg.cpp 2007-11-13 22:49:01.000000000 +0100
+@@ -51,20 +51,20 @@
+ #include "PromptFiles.h"
+ #include "TextBinary.h"
+
+-static char *sDefReleases[] =
++static const char * const sDefReleases[] =
+ {
+ "V10",
+ "V101",
+ 0L
+ };
+
+-static char *sDefVendors[] =
++static const char * const sDefVendors[] =
+ {
+ "GNU",
+ 0L
+ };
+
+-static char *sDefModuleNames[] =
++static const char * const sDefModuleNames[] =
+ {
+ "Module",
+ "Project",