From owner-freebsd-ports Fri Apr 21 5:19:13 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 8239437B760; Fri, 21 Apr 2000 05:18:59 -0700 (PDT) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup5-40.iptelecom.net.ua [212.9.227.40]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id PAA11189; Fri, 21 Apr 2000 15:25:43 +0300 (EEST) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id PAA22657; Fri, 21 Apr 2000 15:18:11 +0300 (EEST) (envelope-from sobomax@altavista.net) Message-ID: <39004702.C38ADAA3@altavista.net> Date: Fri, 21 Apr 2000 15:18:10 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Thomas Gellekum , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, ports@FreeBSD.ORG, "Alexander N. Kabaev" Subject: Re: cvs commit: ports/devel/sdl Makefile ports/devel/sdl/patchespatch-ad patch-ae patch-af patch-ac References: <200004200924.CAA26088@freefall.freebsd.org> <3900352A.7680FDB7@altavista.net> Content-Type: multipart/mixed; boundary="------------D55F18F417D914776A4FB69C" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 freebsd-ports" in the body of the message