Fixing gcc 3.3 compile failures -- fix for graphics/xmms-gforce
Simon Barner
barner at in.tum.de
Wed Jul 23 05:51:14 PDT 2003
--- _Unix-X/libxpce/xvhandler.c.orig Wed Jul 23 04:43:19 2003
+++ _Unix-X/libxpce/xvhandler.c Wed Jul 23 04:44:31 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[3][20] = { "red", "green", "blue" };
static const char cflags[] = { DoRed, DoGreen, DoBlue };
static unsigned long int * const carrays[] = { X_redmap,
X_greenmap,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030723/5ac7ef55/attachment.bin
More information about the freebsd-ports
mailing list