summaryrefslogtreecommitdiff
path: root/games/xevil/files/patch-x11__ui.h
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2012-12-14 07:16:20 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2012-12-14 07:16:20 +0000
commit5ba24ed896375e40859f9ee4d1259399a7ac22cd (patch)
tree807cc9a938cd668365749aa2fd384cf6641191bf /games/xevil/files/patch-x11__ui.h
parent- Update to 0.7.7.1. (diff)
- Update MASTER_SITES.
- Fix build using CLANG. - Add LICENSE. - Add MAKE_JOBS_SAFE. PR: ports/172010 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=308884
Diffstat (limited to 'games/xevil/files/patch-x11__ui.h')
-rw-r--r--games/xevil/files/patch-x11__ui.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/xevil/files/patch-x11__ui.h b/games/xevil/files/patch-x11__ui.h
new file mode 100644
index 000000000000..3e170cf8a198
--- /dev/null
+++ b/games/xevil/files/patch-x11__ui.h
@@ -0,0 +1,20 @@
+--- x11/ui.h.orig 2012-05-27 06:52:31.000000000 +0900
++++ x11/ui.h 2012-05-27 06:52:59.000000000 +0900
+@@ -338,7 +338,7 @@
+
+
+ // Variables.
+- static char *keysNames[UI_KEYS_MAX];
++ static const char *keysNames[UI_KEYS_MAX];
+
+ char **argv; // Warning: Exposing the rep.
+ int argc;
+@@ -402,7 +402,7 @@
+ // The callbacks to export to the Viewport.
+ static ViewportCallback viewportCallbacks[VIEWPORT_CB_NUM];
+
+- static char* helpMessage;
++ static const char* helpMessage;
+ };
+
+ #endif