Import patches from Debian/Mandriva to fix a number of bugs: libsdl-1.2.11-supermount-double-free-issue.patch fixes: Debian 401950 (nexuiz: double free, memory errors) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401950 Debian 380508 (libsdl1.2debian: dosbox doesn't start due to invalid free) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380508 libsdl-1.2.11-dont-propagate-lpthread.patch Fixes spurious dependency as reported in Debian 375822 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375822 libsdl-1.2.11-no-yasm.patch Fixes bug #163053. Included here because I need it to get libsdl to build without hacks. Strictly speaking, that libsdl uses yasm in the first place is a spurious dependency, since libsdl only depends on nasm. Included for testing of patches: libsdl-1.2.11-r2.ebuild Reproducible: Always Steps to Reproduce:
Created attachment 112190 [details] libsdl-1.2.11-r2.ebuild
Created attachment 112192 [details, diff] dont-propagate-lpthread.patch
Created attachment 112193 [details, diff] libsdl-1.2.11-supermount-double-free-issue.patch
Created attachment 112195 [details, diff] libsdl-1.2.11-dont-propagate-lpthread.patch Get name right this time
Created attachment 112197 [details, diff] libsdl-1.2.11-no-yasm.patch
What patches do you remove to make yours build? I ask because your ebuild and patches cause at least libsdl-1.2.11-fbcon-page-header.patch to break.
Created attachment 113468 [details, diff] libsdl-1.2.11-r1-libsdl-1.2.11-r2.patch (In reply to comment #6) > What patches do you remove to make yours build? > > I ask because your ebuild and patches cause at least > libsdl-1.2.11-fbcon-page-header.patch to break. > I cannot replicate that. I noticed that the fbcon patch has been updated recently so I added that to my ebuild and rebuilt it. Nowhere does it reject any patches. Attached a diff from the current portage ebuild to the one in my overlay.
Thanks for the this ebuild as -r1 wouldn't build for me. I did have to comment out this patch as it was not included: epatch "${FILESDIR}"/${P}-linux-headers.patch #159923
ive taken the cdrom fix from upstream and added it to 1.2.11-r2 ... the pthread fix i'll take upstream