From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC3CC138350 for ; Sun, 2 Feb 2020 10:58:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48459E083E; Sun, 2 Feb 2020 10:58:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7E73E083E for ; Sun, 2 Feb 2020 10:58:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18BD334E488 for ; Sun, 2 Feb 2020 10:58:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89514AD for ; Sun, 2 Feb 2020 10:58:10 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1580641085.98692e4c4ad494b88c4902ca1ab3e6541190bbe8.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/gtkdialog/files/, x11-misc/gtkdialog/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/gtkdialog/files/gtkdialog-0.8.3-fno-common.patch x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild x11-misc/gtkdialog/gtkdialog-99999.ebuild X-VCS-Directories: x11-misc/gtkdialog/ x11-misc/gtkdialog/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 98692e4c4ad494b88c4902ca1ab3e6541190bbe8 X-VCS-Branch: master Date: Sun, 2 Feb 2020 10:58:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cc8a231c-0d68-4363-b4e0-4295962c0c37 X-Archives-Hash: 926a6826062e4845e3e1bcee8847dc20 commit: 98692e4c4ad494b88c4902ca1ab3e6541190bbe8 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Feb 2 10:01:50 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sun Feb 2 10:58:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98692e4c x11-misc/gtkdialog: Fix CFLAGS=-fno-common Package-Manager: Portage-2.3.86, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=707840 Signed-off-by: Jeroen Roovers gentoo.org> .../files/gtkdialog-0.8.3-fno-common.patch | 51 ++++++++++++++++++++++ x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild | 3 +- x11-misc/gtkdialog/gtkdialog-99999.ebuild | 5 ++- 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/x11-misc/gtkdialog/files/gtkdialog-0.8.3-fno-common.patch b/x11-misc/gtkdialog/files/gtkdialog-0.8.3-fno-common.patch new file mode 100644 index 00000000000..86fa6a9700a --- /dev/null +++ b/x11-misc/gtkdialog/files/gtkdialog-0.8.3-fno-common.patch @@ -0,0 +1,51 @@ +--- a/src/gtkdialog.h ++++ b/src/gtkdialog.h +@@ -40,24 +40,24 @@ + #define GTKD_FUNCTION_SIGNALS_BLOCK (function_signals_block++) + #define GTKD_FUNCTION_SIGNALS_UNBLOCK (function_signals_block--) + #define GTKD_FUNCTION_SIGNALS_RESET (function_signals_block = FALSE) +-gint function_signals_block; ++extern gint function_signals_block; + + /* Thunor: Used to control/override the widget packing expand and fill + * states at the project level */ +-gint project_space_expand; +-gint project_space_fill; ++extern gint project_space_expand; ++extern gint project_space_fill; + + /* The most recently created radiobutton widget (used for grouping) */ +-GtkWidget *lastradiowidget; ++extern GtkWidget *lastradiowidget; + + /* An accumulated list of menu accelerator groups to be added to the window */ +-GList *accel_groups; ++extern GList *accel_groups; + + /* A list of widgets to hide and to show */ +-GList *widget_hide_list, *widget_show_list; ++extern GList *widget_hide_list, *widget_show_list; + + /* An auto-incremented unique id for each window created */ +-gint window_id; ++extern gint window_id; + + void reset_program_source(void); + //Redundant: gint set_program_source(gchar *name); +--- a/src/gtkdialog.c ++++ b/src/gtkdialog.c +@@ -82,6 +82,14 @@ + gint geometry_x = 0; + gint geometry_y = 0; + ++gint function_signals_block; ++gint project_space_expand; ++gint project_space_fill; ++GtkWidget *lastradiowidget; ++GList *accel_groups; ++GList *widget_hide_list, *widget_show_list; ++gint window_id; ++ + static gboolean + get_geometry(const char *argument) + { diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild index bf0610c4fd8..5e5b48165a4 100644 --- a/x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild +++ b/x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -26,6 +26,7 @@ DEPEND=" " PATCHES=( + "${FILESDIR}"/${PN}-0.8.3-fno-common.patch "${FILESDIR}"/${PN}-0.8.3-optdeps.patch ) diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild index d90e208f2ef..0f60150b0f8 100644 --- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild +++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,6 +30,9 @@ DEPEND=" virtual/pkgconfig virtual/yacc " +PATCHES=( + "${FILESDIR}"/${PN}-0.8.3-fno-common.patch +) src_prepare() { default