On Thu, Jan 15, 2009 at 08:26:07AM +0100, Pierre Riteau wrote:
> On Thu, Jan 15, 2009 at 12:42:42AM +0000, Jacob Meuser wrote:
> > On Wed, Jan 14, 2009 at 11:08:56PM +0000, Stuart Henderson wrote:
> > > On 2009/01/13 20:25, Jacob Meuser wrote:
> > > > LMMS is a music production program.  This includes the creation of
> > > > melodies and beats, the synthesis and mixing of sounds, and arrangement
> > > > of samples.  You can have fun with your MIDI keyboard and much more.
> > > 
> > > if it really needs GCC4, I think it's better as in this diff,
> > > but if it's possible to patch around it to build with in-tree
> > > GCC that would be greatly preferable.
> > 
> > this needs vector support, which appears to have been added to gcc-3.4.0.
> > 
> > dunno what's going on with amd64.  those appear to be problems in
> > /usr/include/{,e,x}mmintrin.h and/or gcc.
> 
> gcc4 needs its own version of these include files. They are installed by
> the i386 port but not by the amd64 one.
> espie@ OK'd this diff back in July, but naddy@ felt that it was too close
> to the port freeze so the diff was postponed.
> Since then I've sent the diff several times to Marc but no answer (I guess
> he is very buzy).

thanks.  this does indeed let lmms build/install/work on my amd64.

can this get committed please?


> Index: Makefile
> ===================================================================
> RCS file: /home/priteau/cvs/ports/lang/gcc/4.2/Makefile,v
> retrieving revision 1.23
> diff -p -u -r1.23 Makefile
> --- Makefile  11 Sep 2008 19:22:05 -0000      1.23
> +++ Makefile  12 Sep 2008 09:55:39 -0000
> @@ -8,7 +8,7 @@ DATE=20070307
>  FULL_VERSION=4.2-${DATE}
>  FULL_PKGVERSION=4.2.${DATE}
>  
> -PKGNAME-main=  gcc-${FULL_PKGVERSION}p8
> +PKGNAME-main=  gcc-${FULL_PKGVERSION}p9
>  PKGNAME-c++ =  g++-${FULL_PKGVERSION}p7
>  PKGNAME-estdc= libstdc++-${FULL_PKGVERSION}p4
>  PKGNAME-g77=   g77-${FULL_PKGVERSION}p4
> @@ -174,7 +174,7 @@ PKG_ARGS+=-DPPC=1
>  .else
>  PKG_ARGS+=-DPPC=0
>  .endif
> -.if ${MACHINE_ARCH} == "i386"
> +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
>  PKG_ARGS+=-DI386=1
>  .else
>  PKG_ARGS+=-DI386=0
> @@ -194,4 +194,3 @@ LIB_DEPENDS-f95=  gmp:gmp->=4.2:devel/gmp
>  LIB_DEPENDS-java=    gc::devel/boehm-gc
>  
>  .include <bsd.port.mk>
> -
> 

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to