View previous topic :: View next topic |
Author |
Message |
justbrowsingaround n00b
Joined: 27 May 2013 Posts: 3
|
Posted: Thu May 30, 2013 5:26 pm Post subject: [SOLVED] emerge libsdl |
|
|
Hi,
I have problem with libsdl: emerge libsdl fails with message:
Code: |
...
./src/video/x11/SDL_x11sym.h:168:1: error: conflicting types for ‘_XData32’
/usr/include/X11/Xlibint.h:595:12: note: previous declaration of ‘_XData32’ was here
...
|
emerge libsdl
emerge completes if USE="-X", but unfortunately I need X flag.
emerge --info
I would appreciate any help.
--Edit--
According to Issue 130 I'd like to manually correct SDL_x11sym.h, but every time I run 'emerge libsdl' old sources - including corrected SDL_x11sym.h file - are overwritten. Is there any way to force emerge to use old files, without unpacking sources?
Michał
Last edited by justbrowsingaround on Thu May 30, 2013 8:50 pm; edited 1 time in total |
|
Back to top |
|
|
ser666 n00b
Joined: 30 May 2013 Posts: 2
|
Posted: Thu May 30, 2013 7:33 pm Post subject: |
|
|
mask libX11-1.5.99.902 |
|
Back to top |
|
|
justbrowsingaround n00b
Joined: 27 May 2013 Posts: 3
|
Posted: Thu May 30, 2013 8:49 pm Post subject: |
|
|
ser666 thank you for response.
I managed to compile libsdl with USE="X" and libX11-1.5.99.902. I used dirty workaround:
1. emerge libsdl, which failed
2. nano SDL_x11sym.h, correct line 168
3. one more time emerge libsdl in second terminal
4. Ctrl+o in Nano after unpacking phase
Compiled and works. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
|
Back to top |
|
|
Jefferson n00b
Joined: 10 Nov 2005 Posts: 66
|
Posted: Fri May 31, 2013 4:51 pm Post subject: |
|
|
This worked for me and was the easiest way:
emerge =libX11-1.5.0-r1
emerge libsdl
emerge libX11 |
|
Back to top |
|
|
|