summaryrefslogtreecommitdiff
path: root/graphics/gle-graphics/files/patch-src_gle_d__x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gle-graphics/files/patch-src_gle_d__x.cpp')
-rw-r--r--graphics/gle-graphics/files/patch-src_gle_d__x.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/graphics/gle-graphics/files/patch-src_gle_d__x.cpp b/graphics/gle-graphics/files/patch-src_gle_d__x.cpp
deleted file mode 100644
index 97eeecd0ca0a..000000000000
--- a/graphics/gle-graphics/files/patch-src_gle_d__x.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/gle/d_x.cpp.orig 2011-10-26 21:10:54 UTC
-+++ src/gle/d_x.cpp
-@@ -199,7 +199,7 @@ void X11GLEDevice::setfillstyle(int i) {
- #define BM_HEIGHT 16
- Pixmap bm;
- //unsigned
--const char bm_bits[][32] = {
-+const unsigned char bm_bits[][32] = {
- { 0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04,
- 0x00, 0x02, 0x00, 0x01, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00,
- 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x01, 0x00}, /* SHADE */
-@@ -238,7 +238,7 @@ const char bm_bits[][32] = {
- 0x1c, 0x38, 0x0e, 0x70, 0x07, 0xe0, 0x03, 0xc0} /* GRID 5 */
- };
-
-- bm = XCreateBitmapFromData(dpy,window1,bm_bits[i],BM_WIDTH,BM_HEIGHT);
-+ bm = XCreateBitmapFromData(dpy,window1,(const char*)bm_bits[i],BM_WIDTH,BM_HEIGHT);
- XSetStipple(dpy, gcf, bm);
- XSetFillStyle(dpy, gcf, FillStippled);
- XFreePixmap(dpy, bm);