Bug#195606: Patch for gcc-3.3 compilation errors
tags 195606 + patch
thanks
Here's a patch which fixes the problems compiling xfree86v3 on sid.
--
Daniel Schepler "Please don't disillusion me. I
schepler@math.berkeley.edu haven't had breakfast yet."
-- Orson Scott Card
--- xc/programs/Xserver/hw/xfree86/vga256/enhanced/vgaFasm.h.orig 2003-10-01 13:23:57.000000000 +0000
+++ xc/programs/Xserver/hw/xfree86/vga256/enhanced/vgaFasm.h 2003-10-01 13:24:49.000000000 +0000
@@ -109,7 +109,7 @@
movl %2, %%ecx \n\
.label01: subl %%ecx, %6 \n\
subl %%ecx, %2 \n"\
- ##rep## \
+ rep \
"movsl \n\
orl %2, %2 \n\
jnz .label00 \n\
@@ -145,7 +145,7 @@
movl %2, %%ecx \n\
.label11: subl %%ecx, %6 \n\
subl %%ecx, %2 \n"\
- ##rep## \
+ rep \
"movsl \n\
orl %2, %2 \n\
jnz .label10 \n\
@@ -181,7 +181,7 @@
movl %2, %%ecx \n\
.label21: subl %%ecx, %6 \n\
subl %%ecx, %2 \n"\
- ##rep## \
+ rep \
"movsl \n\
orl %2, %2 \n\
jnz .label20 \n\
@@ -240,7 +240,7 @@
#if RROP == GXcopy
#define CLD __asm__ __volatile__ ("cld")
#define RROP_SOLID_L_X(pdst, nl, fill, rep) \
- __asm__ __volatile__ ( rep## \
+ __asm__ __volatile__ ( rep \
"stosl" \
: "=D" (/*(unsigned long *)*/ (pdst)) \
: "D0" ((unsigned long *) (pdst)), \
Reply to: