Re: [sparc64/base-gcc] Fix build of x11/spice-gtk

2020-07-28 Thread Antoine Jacoutot
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__' > >

[sparc64/base-gcc] Fix build of x11/spice-gtk

2020-07-27 Thread Kurt Mosiejczuk
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? (cc maintainer) --Kurt Index: Makefile =

Re: [sparc64/base-gcc] Fix build of x11/spice-gtk

2020-04-14 Thread Christian Weisgerber
On 2020-04-14, Brad Smith wrote: > But there are more archs than just sparc64 which are !clang archs. Realistically, once sparc64 has crossed, the ports situation on the remaining !clang architectures will deteriorate fast. The only other !clang arch on which we still build release packages is

Re: [sparc64/base-gcc] Fix build of x11/spice-gtk

2020-04-13 Thread Theo de Raadt
Antoine Jacoutot wrote: > On Mon, Apr 13, 2020 at 08:13:50PM -0400, Brad Smith wrote: > > On 4/13/2020 5:26 PM, Antoine Jacoutot wrote: > > > > > On Mon, Apr 13, 2020 at 12:47:47PM -0400, Kurt Mosiejczuk wrote: > > > > Two things cause the build to fail on sparc64: "-Werror" and the need > > > >

Re: [sparc64/base-gcc] Fix build of x11/spice-gtk

2020-04-13 Thread Antoine Jacoutot
On Mon, Apr 13, 2020 at 08:13:50PM -0400, Brad Smith wrote: > On 4/13/2020 5:26 PM, Antoine Jacoutot wrote: > > > On Mon, Apr 13, 2020 at 12:47:47PM -0400, Kurt Mosiejczuk wrote: > > > Two things cause the build to fail on sparc64: "-Werror" and the need > > > for C99. > > > > > > There are a bun

Re: [sparc64/base-gcc] Fix build of x11/spice-gtk

2020-04-13 Thread Brad Smith
On 4/13/2020 5:26 PM, Antoine Jacoutot wrote: On Mon, Apr 13, 2020 at 12:47:47PM -0400, Kurt Mosiejczuk wrote: Two things cause the build to fail on sparc64: "-Werror" and the need for C99. There are a bunch of deprecated functions that throw warnings and -Werror aborts the build, so there is

Re: [sparc64/base-gcc] Fix build of x11/spice-gtk

2020-04-13 Thread Antoine Jacoutot
On Mon, Apr 13, 2020 at 12:47:47PM -0400, Kurt Mosiejczuk wrote: > Two things cause the build to fail on sparc64: "-Werror" and the need > for C99. > > There are a bunch of deprecated functions that throw warnings and -Werror > aborts the build, so there is a patch to remove that from meson.build.

[sparc64/base-gcc] Fix build of x11/spice-gtk

2020-04-13 Thread Kurt Mosiejczuk
Two things cause the build to fail on sparc64: "-Werror" and the need for C99. There are a bunch of deprecated functions that throw warnings and -Werror aborts the build, so there is a patch to remove that from meson.build. The C99 is fixed by adding -std=gnu99 to CFLAGS. This patch fixes the bu