On Mon, Jul 27, 2020 at 04:44:22PM -0400, Kurt Mosiejczuk wrote:
> spice-gtk won't compile with base-gcc and needs to be told to use ports-gcc
> on base-gcc arches.
> 
> It fails with a:
> 
> /usr/local/include/spice-1/spice/enums.h:374: error: expected ',' or '}' 
> before 
> '__attribute__'
> 
> This diff fixes the build on sparc64.
> 
> ok?

OK

> 
> (cc maintainer)
> 
> --Kurt
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/x11/spice-gtk/Makefile,v
> retrieving revision 1.48
> diff -u -p -r1.48 Makefile
> --- Makefile  3 Jun 2020 09:49:55 -0000       1.48
> +++ Makefile  27 Jul 2020 20:32:42 -0000
> @@ -25,6 +25,9 @@ WANTLIB += pixman-1 sasl2 ssl z
>  
>  MASTER_SITES=                http://www.spice-space.org/download/gtk/
>  
> +COMPILER=            base-clang ports-gcc ports-clang
> +COMPILER_LANGS =     c
> +
>  MODULES=             devel/meson \
>                       lang/python
>  

-- 
Antoine

Reply via email to