FS#36179 - [sdl] compile failure due to change in libx11 > Xlibinit.h : a patch to fix is included
Attached to Project:
Arch Linux
Opened by Jeff Meldrum (jspaces) - Wednesday, 17 July 2013, 06:15 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 23 October 2013, 17:24 GMT
Opened by Jeff Meldrum (jspaces) - Wednesday, 17 July 2013, 06:15 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 23 October 2013, 17:24 GMT
|
Details
Description: sdl fails to compile with this error message
> SDL_x11sym.h:165:92: error: conflicting types for
‘_XData32’
package version(s) 1.2.15 Steps to reproduce: Download from abs and expect a successful compile. Fix: After applying the attached patch sdl-1.2.15 compiles successfully. Steps to correct: cd "$srcdir/SDL-$pkgver" patch -p0 < ${srcdir}/sdl_x11sym.patch |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 23 October 2013, 17:24 GMT
Reason for closing: Fixed
Additional comments about closing: sdl 1.2.15-4
Wednesday, 23 October 2013, 17:24 GMT
Reason for closing: Fixed
Additional comments about closing: sdl 1.2.15-4
Gentoo uses a more compatible patch, which is what was applied upstream:
http://bugzilla.libsdl.org/show_bug.cgi?id=1769
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libsdl/files/libsdl-1.2.15-const-xdata32.patch
The patch referred to in comment #1 is a patch to the configure.in file and so requires autoreconf -- but I find that autoreconf fails (because our autotools is too new?).
The patch that works most simply for now is taken from https://bugs.gentoo.org/show_bug.cgi?id=471604, the same as sdl_x11sym.patch given above.