Use the same patch as freebsd for simplicity

prodded by & ok ajacoutot@
This commit is contained in:
landry 2018-11-06 12:43:51 +00:00
parent 7ece11f014
commit 60208a3a26
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.91 2018/05/22 17:26:46 jasper Exp $
# $OpenBSD: Makefile,v 1.92 2018/11/06 12:43:51 landry Exp $
COMMENT= terminal emulation library
GNOME_PROJECT= vte
GNOME_VERSION= 0.52.2
API_V= 2.91
REVISION= 0
PKGNAME= vte3-${GNOME_VERSION}

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src_app_app_cc,v 1.1 2018/11/06 10:19:31 landry Exp $
$OpenBSD: patch-src_app_app_cc,v 1.2 2018/11/06 12:43:51 landry Exp $
Fix build on !clang:
app.cc:309:39: error: cannot convert 'const GdkRGBA {aka const _GdkRGBA} to 'gdouble {aka double}' in initialization
@ -13,7 +13,7 @@ Index: src/app/app.cc
alpha = get_alpha();
- GdkRGBA color{bg_color};
+ GdkRGBA color(bg_color);
+ GdkRGBA color = bg_color;
color.alpha = alpha;
return color;
}