pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49340: graphics/libgltf fails to build on NetBSD-6.1.5/amd64



On Mon,  3 Nov 2014 14:55:00 +0000 (UTC)
Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost> wrote:

> The following reply was made to PR pkg/49340; it has been noted by
> GNATS.
> 
> From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
> To: gnats-bugs%NetBSD.org@localhost, oster%netbsd.org@localhost
> Cc: 
> Subject: Re: pkg/49340: graphics/libgltf fails to build on
>  NetBSD-6.1.5/amd64
> Date: Mon, 03 Nov 2014 23:51:43 +0900 (JST)
> 
>  Hi,
>  
>  Adding
>  
>  # Fix build with GCC 4.5.3 under NetBSD 6.1
>  BUILDLINK_TRANSFORM+=   rm:-Weffc++
>  
>  to pkgsrc/graphics/libgltf/Makefile
>  
>  and removing throw() from posix_memalign definition
>  in /usr/include/gcc-4.5/mm_malloc.h .
>  (See thread that starts from
>  http://mail-index.netbsd.org/current-users/2014/03/08/msg024419.html
>  and PR http://gnats.netbsd.org/49199 .)
>  
>  are required to build libgltf with GCC 4.5.3.

Adding this:

GCC_REQD+=4.7

to the Makefile let things build without having to modify anything on
the local system.  I suspect something similar to this is preferable to
asking people to modify the default system.

Thanks.

Later...

Greg Oster


Home | Main Index | Thread Index | Old Index