On Wed, Oct 31, 2018 at 03:00:51PM -0400, George Koehler wrote:
> On Tue, 30 Oct 2018 23:45:14 -0600 (MDT)
> lan...@openbsd.org wrote:
> 
> > bulk build on macppc-1.ports.openbsd.org
> > started on  Fri Oct 12 09:46:26 MDT 2018
> > finished at Tue Oct 30 18:15:58 MDT 2018
> 
> I recently built some packages on my OpenBSD/macppc machine,
> and fixed failures in devel/vte3, textproc/mupdf, multimedia/x265.
> 
> > http://build-failures.rhaalovely.net//powerpc/2018-10-12/devel/vte3.log
> 
> ports-gcc can't build devel/vte3; this blocks x11/xfce4/terminal and
> some other terminal emulators.  I added a patch to build it (and get a
> working xfce4-terminal).  I mailed the patch to maintainers Jasper
> Lievisse Adriaanse and Antoine Jacoutot on Monday 29 Oct 2018.
> 
> I don't know how to use cvs diff,
> but here's a copy of patch-src_app_app_cc:
> =begin
> $OpenBSD$
> 
> Prevent error from ports-gcc.
> 
> app.cc:309:39: error: cannot convert 'const GdkRGBA {aka const _GdkRGBA}
> to 'gdouble {aka double}' in initialization
> 
> Index: src/app/app.cc
> --- src/app/app.cc.orig
> +++ src/app/app.cc
> @@ -306,7 +306,7 @@ class Options { (public)
>                  else
>                          alpha = get_alpha();
>  
> -                GdkRGBA color{bg_color};
> +                GdkRGBA color(bg_color);
>                  color.alpha = alpha;
>                  return color;
>          }
> =end

Confirmed that this oneline fixes sparc64 too. jasper, care to commit it
? Can do otherwise.

Reply via email to