From owner-freebsd-ports Fri Apr 21 4: 2:55 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 416D737B677; Fri, 21 Apr 2000 04:02:38 -0700 (PDT) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup3-59.iptelecom.net.ua [212.9.226.187]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id OAA25549; Fri, 21 Apr 2000 14:09:32 +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 OAA22492; Fri, 21 Apr 2000 14:02:02 +0300 (EEST) (envelope-from sobomax@altavista.net) Message-ID: <3900352A.7680FDB7@altavista.net> Date: Fri, 21 Apr 2000 14:02:02 +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 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 References: <200004200924.CAA26088@freefall.freebsd.org> Content-Type: multipart/mixed; boundary="------------5B4D55483A7D7FA2DBDAC2A6" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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