Fix build for -fno-common with an upstream commit

Sync WANTLIB while here.
ok gnezdo@
This commit is contained in:
bcallah 2021-02-10 05:01:13 +00:00
parent 8dfe3dff5a
commit 8ea317e5f8
2 changed files with 22 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.23 2019/07/12 20:51:06 sthen Exp $
# $OpenBSD: Makefile,v 1.24 2021/02/10 05:01:13 bcallah Exp $
COMMENT = lightweight graphical download manager
DISTNAME = uget-2.0.11
CATEGORIES = www net x11
REVISION = 3
REVISION = 4
HOMEPAGE = http://ugetdm.com/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
@ -11,10 +11,9 @@ MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# LGPLv2.1+
PERMIT_PACKAGE = Yes
WANTLIB += atk-1.0 c cairo cairo-gobject crypto curl gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gstreamer-1.0
WANTLIB += gtk-3 intl nghttp2 notify pango-1.0 pangocairo-1.0 pthread
WANTLIB += ssl z
WANTLIB += atk-1.0 c cairo cairo-gobject crypto curl gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gstreamer-1.0 gtk-3 harfbuzz
WANTLIB += intl notify pango-1.0 pangocairo-1.0 pthread
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=urlget/}

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-ui-gtk_UgtkBanner_h,v 1.1 2021/02/10 05:01:13 bcallah Exp $
Fix for -fno-common
From upstream: https://sourceforge.net/p/urlget/uget2/ci/14890943c52e0a5cd2a87d8a1c51cbffebee7cf9/
Index: ui-gtk/UgtkBanner.h
--- ui-gtk/UgtkBanner.h.orig
+++ ui-gtk/UgtkBanner.h
@@ -64,7 +64,7 @@ struct UgtkBanner {
UgetRssFeed* feed;
UgetRssItem* item;
} rss;
-} banner;
+};
void ugtk_banner_init (UgtkBanner* banner);