Summary: | media-libs/libsdl bundles some X libraries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Donnie Berkholz (RETIRED) <dberkholz> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | esigra, hiyuh.root, radek, x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
libsdl-1.2.10-no-bundled-X.patch
libsdl-1.2.11-no-bundled-X.patch libsdl-1.2.11-no-bundled-X.patch |
Description
Donnie Berkholz (RETIRED)
![]() decoupling the code isnt trivial so i've poked upstream about some hints on how to go about doing this ... Created attachment 87529 [details, diff]
libsdl-1.2.10-no-bundled-X.patch
i imagine this patch is wrong, but here's a weak attempt
Created attachment 90924 [details, diff]
libsdl-1.2.11-no-bundled-X.patch
Why should it be wrong and weak? Works fine for me with some minor modifications, adding #define SDL_NAME(X) X in two files :)
Anthing holding this change back?
Created attachment 90947 [details, diff]
libsdl-1.2.11-no-bundled-X.patch
ok, new patch. Changes:
- add -l(library) to LDFLAGS to make it actually work
- remove xme diffs, xme is not used in the default gentoo build and not provided by modular xorg
I was getting a compile error no libsdl-1.2.11 (something about asm/page.h not being found). But this patch fixed that problem for me. Good work! How soon can we get this into the tree? upstream has moved to doing this ... i dont think there's any value in trying to backport to versions in portage Agreed. |