summaryrefslogtreecommitdiff
path: root/graphics/xmms-gforce/files/patch-_Unix-X::libxpce::xvhandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xmms-gforce/files/patch-_Unix-X::libxpce::xvhandler.c')
-rw-r--r--graphics/xmms-gforce/files/patch-_Unix-X::libxpce::xvhandler.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/xmms-gforce/files/patch-_Unix-X::libxpce::xvhandler.c b/graphics/xmms-gforce/files/patch-_Unix-X::libxpce::xvhandler.c
new file mode 100644
index 000000000000..8a07bc98529b
--- /dev/null
+++ b/graphics/xmms-gforce/files/patch-_Unix-X::libxpce::xvhandler.c
@@ -0,0 +1,11 @@
+--- _Unix-X/libxpce/xvhandler.c.orig Thu Jul 24 03:04:02 2003
++++ _Unix-X/libxpce/xvhandler.c Thu Jul 24 03:04:12 2003
+@@ -342,7 +342,7 @@
+
+ /* x_DCTCEDoComp() - Do one component for DCTCE */
+ int x_DCTCEDoComp(int mask, int color) {
+- static const char cnames[] = { "red", "green", "blue" };
++ static const char *cnames[] = { "red", "green", "blue" };
+ static const char cflags[] = { DoRed, DoGreen, DoBlue };
+ static unsigned long int * const carrays[] = { X_redmap,
+ X_greenmap,