GrumbelsTrashbin / pingus.old-auto-export

Automatically exported from code.google.com/p/pingus
GNU General Public License v3.0
0 stars 0 forks source link

Fix linking against X11 #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. X11 is needed
2.
3.

What is the expected output? What do you see instead?

Add X11 to src/engine/input/SConstruct.main

What version of the product are you using? On what operating system?

Pingus Git from Google Code, openSUSE

Please provide any additional information below.

With this Sed, Pingus use in Build X11

sed -i 's|'SDL_mixer', 'png'|'SDL_mixer', 'png', 'X11'|' \
    src/engine/input/SConstruct.main

Original issue reported on code.google.com by nemysisbsd on 11 Dec 2014 at 5:34

GoogleCodeExporter commented 9 years ago
Fix linking against X11 and adds wii support

pingus-0.7.6-SConscript.patch

Without this patch get

[  153s] ranlib build/libpingus.a
[  153s] g++ -o build/pingus build/src/main.o build/libpingus.a -L/usr/lib64 
-lGL -lXi -lpng16 -lSDL -lpthread -lSDL_image -lSDL_mixer
[  154s] 
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
build/libpingus.a(xinput_driver.o): undefined reference to symbol 'XFree'
[  154s] /usr/lib64/libX11.so.6: error adding symbols: DSO missing from command 
line
[  154s] collect2: error: ld returned 1 exit status
[  154s] scons: *** [build/pingus] Error 1
[  154s] scons: building terminated because of errors.

Original comment by nemysisbsd on 11 Dec 2014 at 6:04

Attachments: