summaryrefslogtreecommitdiff
path: root/games/xevil/files/patch-x11__xdata.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__xdata.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__xdata.h')
-rw-r--r--games/xevil/files/patch-x11__xdata.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/games/xevil/files/patch-x11__xdata.h b/games/xevil/files/patch-x11__xdata.h
new file mode 100644
index 000000000000..4b4e40557f1e
--- /dev/null
+++ b/games/xevil/files/patch-x11__xdata.h
@@ -0,0 +1,28 @@
+--- x11/xdata.h.orig 2012-05-27 06:52:31.000000000 +0900
++++ x11/xdata.h 2012-05-27 06:52:58.000000000 +0900
+@@ -74,7 +74,7 @@
+
+ typedef XEvent *CMN_EVENTDATA;
+
+-typedef char *CMN_COLOR;
++typedef const char *CMN_COLOR;
+
+
+
+@@ -132,14 +132,14 @@
+ transformations. Use scratch for all scratch calculations. */
+
+ Boolean load_pixmap(Drawable* pixmap,Drawable* mask,
+- int dpyNum,char** xpmBits);
++ int dpyNum, const char** xpmBits);
+ /* MODIFIES: pixmap, mask */
+ /* EFFECTS: Load an XPM pixmap and mask from xpmBits. Only load mask if
+ non-NULL. Reduce pixmap size by a factor of 2 if
+ !xvars.is_stretched(). */
+
+ Boolean load_pixmap(Drawable* pixmap,Drawable* mask,
+- int dpyNum,char** xpmBits,Boolean fullSize);
++ int dpyNum, const char** xpmBits,Boolean fullSize);
+ /* EFFECTS: Same as above load_pixmap() except caller explicitly
+ specifies whether pixmap is fullSize or reduced by a factor of 2. */
+ /* NOTE: This method can be called before Xvars::stretch is set. */