Date: Fri, 21 Apr 2000 14:02:02 +0300 From: Maxim Sobolev <sobomax@altavista.net> To: Thomas Gellekum <tg@freebsd.org> Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org, ports@freebsd.org Subject: Re: cvs commit: ports/devel/sdl Makefile ports/devel/sdl/patchespatch-ad patch-ae patch-af patch-ac Message-ID: <3900352A.7680FDB7@altavista.net> References: <200004200924.CAA26088@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------5B4D55483A7D7FA2DBDAC2A6 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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. Unfortunately this has two undesirable side effects: 1. It breaks the build of the pysol-sound-server port due to the additional -pthread option returned by the sdl-config which doesn't handled by the python's configure. This could be easily fixed and I'm attached modified patch-aa for pysol-sound-server. 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. -Maxim --------------5B4D55483A7D7FA2DBDAC2A6 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 13:17:57 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" 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 --------------5B4D55483A7D7FA2DBDAC2A6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3900352A.7680FDB7>