Date: Fri, 21 Apr 2000 15:18:10 +0300 From: Maxim Sobolev <sobomax@altavista.net> To: Thomas Gellekum <tg@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, ports@FreeBSD.ORG, "Alexander N. Kabaev" <kabaev@mail.ru> Subject: Re: cvs commit: ports/devel/sdl Makefile ports/devel/sdl/patchespatch-ad patch-ae patch-af patch-ac Message-ID: <39004702.C38ADAA3@altavista.net> References: <200004200924.CAA26088@freefall.freebsd.org> <3900352A.7680FDB7@altavista.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------D55F18F417D914776A4FB69C Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Maxim Sobolev wrote: > Thomas Gellekum wrote: > > > tg 2000/04/20 02:24:29 PDT > > > > Modified files: > > devel/sdl Makefile > > devel/sdl/patches patch-ac > > Added files: > > devel/sdl/patches patch-ad patch-ae patch-af > > Log: > > Use our libc_r instead of linuxthreads. > > 2. It breaks some ports based on smpeg library (e.g. pysol-sound-server). The > problem is that the smpeg written in c++, while it is known not to work in some > cases resulting in "/usr/local/lib/libsmpeg-0.3.so.0: Undefined symbol > "__pure_virtual" message on library import when the library being imported from > program written in straight C and linked with /usr/bin/cc. I donno why it was > working with linuxthreads and how to fix it properly. Any help from someone who > knows C++/C mixing issues better is highly appreciated. Huh, solved by adding -lgcc_r on the link stage. With this message I'm attaching final patch-aa for pysol-sound-server, which should solve both problems. Thomas, could you check and commit it for me ;)? -Maxim --------------D55F18F417D914776A4FB69C Content-Type: text/plain; charset=koi8-r; name="patch-aa" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-aa" --- configure.orig Tue Jan 25 13:35:32 2000 +++ configure Fri Apr 21 14:47:24 2000 @@ -3,10 +3,10 @@ SDL_CONFIG="sdl-config" SDL_VERSION=`$SDL_CONFIG --version` SDL_CFLAGS=`$SDL_CONFIG --cflags` -SDL_LIBS=`$SDL_CONFIG --libs` +SDL_LIBS=`$SDL_CONFIG --libs | sed "s/-pthread//"` -SMPEG_CFLAGS="" -SMPEG_LIBS="-lsmpeg" +SMPEG_CFLAGS="-I""$X11BASE""/include" +SMPEG_LIBS="-L""$X11BASE""/lib -lsmpeg -lgcc_r" sed -e "s|@SDL_VERSION@|$SDL_VERSION|g" -e "s|@SDL_CFLAGS@|$SDL_CFLAGS|g" -e "s|@SDL_LIBS@|$SDL_LIBS|g" -e "s|@SMPEG_CFLAGS@|$SMPEG_CFLAGS|g" -e "s|@SMPEG_LIBS@|$SMPEG_LIBS|g" < Setup.pre.in > Setup.in --------------D55F18F417D914776A4FB69C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39004702.C38ADAA3>