summaryrefslogtreecommitdiff
path: root/graphics/xmms-gforce/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-08-02 02:36:11 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-08-02 02:36:11 +0000
commitc2d82a9ad673ccef3c783db5a09b71a1f88036e0 (patch)
tree81e11a9f97e19fded46d8a8934c871e69bec40af /graphics/xmms-gforce/files
parentUpdate to 2.0.36. (diff)
Fix build on gcc-3.3.x
Submitted by: Simon Barner <barner@in.tum.de>
Diffstat (limited to 'graphics/xmms-gforce/files')
-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,