Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 75392
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matt Taylor <liverbugg@juno.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
1.2.8-gcc2.patch 1.2.8-gcc2.patch patch Matt Taylor 2004-12-22 19:32 0000 743 bytes Details | Diff
1.2.8-gcc2-asm.patch 1.2.8-gcc2-asm.patch patch Matt Taylor 2004-12-22 19:36 0000 9.92 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 75392 depends on: Show dependency tree
Bug 75392 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-22 19:31 0000
Compiling libsdl-1.2.8 with gcc-2.95 fails:

 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. -D_REENTRANT -I/usr/include/directfb -march=i686 -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -DUSE_DLVSYM -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_DIRECTFB -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../../include -I../../../include/SDL -I../../../src -I../../../src/main/linux -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../src/thread -c SDL_DirectFB_video.c  -fPIC -DPIC -o .libs/SDL_DirectFB_video.o
SDL_DirectFB_video.c: In function `DirectFB_VideoInit':
SDL_DirectFB_video.c:495: parse error before `dlc'
SDL_DirectFB_video.c:503: `failed' undeclared (first use in this function)
SDL_DirectFB_video.c:503: (Each undeclared identifier is reported only once
SDL_DirectFB_video.c:503: for each function it appears in.)
make: *** [SDL_DirectFB_video.lo] Error 1

------- Comment #1 From Matt Taylor 2004-12-22 19:32:54 0000 -------
Created an attachment (id=46683) [details]
1.2.8-gcc2.patch

Fixes compile error with gcc2

------- Comment #2 From Matt Taylor 2004-12-22 19:36:08 0000 -------
Created an attachment (id=46684) [details]
1.2.8-gcc2-asm.patch

Errors from bug 70079 is back, plus more of the same.  It looks like the gentoo
1.2.7-gcc34.patch was integrated upstream.  This patch fixes it.  Should only
be applied if being compiled with gcc-2.

------- Comment #3 From SpanKY 2004-12-24 02:30:13 0000 -------
added to the 1.2.8 ebuild, thanks :)

i'll send the 1.2.8-gcc2.patch patch upstream

------- Comment #4 From SpanKY 2004-12-27 14:49:06 0000 -------
merged upstream:
http://twomix.devolution.com/pipermail/sdl/2004-December/066513.html
http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/src/video/directfb/SDL_DirectFB_video.c

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug