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 F1FD0138350 for ; Thu, 27 Feb 2020 10:44:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D18A5E08E5; Thu, 27 Feb 2020 10:44:35 +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 A00F8E08E5 for ; Thu, 27 Feb 2020 10:44:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 83B9434F423 for ; Thu, 27 Feb 2020 10:44:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1106148 for ; Thu, 27 Feb 2020 10:44:30 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1582800243.ac40df4823d30e3be6a5a39a5908ad2852f9e041.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/grsync/, x11-misc/grsync/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/grsync/files/grsync-1.2.6-gcc-10.patch x11-misc/grsync/grsync-1.2.6.ebuild X-VCS-Directories: x11-misc/grsync/ x11-misc/grsync/files/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: ac40df4823d30e3be6a5a39a5908ad2852f9e041 X-VCS-Branch: master Date: Thu, 27 Feb 2020 10:44:30 +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: 3bcef0da-75a9-4339-acd6-1acc5376971e X-Archives-Hash: 931a3fc17d8c804901e53946e0a6674a commit: ac40df4823d30e3be6a5a39a5908ad2852f9e041 Author: Bernard Cafarelli gentoo org> AuthorDate: Thu Feb 27 10:38:18 2020 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Thu Feb 27 10:44:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac40df48 x11-misc/grsync: fix build with -fno-common Closes: https://bugs.gentoo.org/710874 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli gentoo.org> x11-misc/grsync/files/grsync-1.2.6-gcc-10.patch | 36 +++++++++++++++++++++++++ x11-misc/grsync/grsync-1.2.6.ebuild | 4 ++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/x11-misc/grsync/files/grsync-1.2.6-gcc-10.patch b/x11-misc/grsync/files/grsync-1.2.6-gcc-10.patch new file mode 100644 index 00000000000..4460f1ac94a --- /dev/null +++ b/x11-misc/grsync/files/grsync-1.2.6-gcc-10.patch @@ -0,0 +1,36 @@ +diff -Naur grsync-1.2.6.orig/src/callbacks.h grsync-1.2.6/src/callbacks.h +--- grsync-1.2.6.orig/src/callbacks.h 2013-04-30 13:48:54.000000000 +0200 ++++ grsync-1.2.6/src/callbacks.h 2020-02-27 11:34:50.861824303 +0100 +@@ -7,11 +7,11 @@ + #define ICON_PACKAGE PACKAGE_DATA_DIR "/" ICON_SOURCE + #define ICON_PACKAGE_BUSY PACKAGE_DATA_DIR "/" ICON_SOURCE_BUSY + +-GtkBuilder *builder; +-GtkWidget *main_window; +-gchar *argv_session, *argv_filename, *icon, *icon_busy; +-gboolean cmdline_session, cmdline_execute, cmdline_stayopen, cmdline_import; +-GtkListStore *liststore_session; ++extern GtkBuilder *builder; ++extern GtkWidget *main_window; ++extern gchar *argv_session, *argv_filename, *icon, *icon_busy; ++extern gboolean cmdline_session, cmdline_execute, cmdline_stayopen, cmdline_import; ++extern GtkListStore *liststore_session; + + void save_settings(gchar *session, gchar *filename); + gboolean load_groups(gchar *session); +diff -Naur grsync-1.2.6.orig/src/main.c grsync-1.2.6/src/main.c +--- grsync-1.2.6.orig/src/main.c 2013-04-30 13:48:54.000000000 +0200 ++++ grsync-1.2.6/src/main.c 2020-02-27 11:35:08.548834429 +0100 +@@ -10,6 +10,12 @@ + # include + #endif + ++GtkBuilder *builder; ++GtkWidget *main_window; ++gchar *argv_session, *argv_filename, *icon, *icon_busy; ++gboolean cmdline_session, cmdline_execute, cmdline_stayopen, cmdline_import; ++GtkListStore *liststore_session; ++ + int main (int argc, char *argv[]) { + #ifdef ENABLE_NLS + bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); diff --git a/x11-misc/grsync/grsync-1.2.6.ebuild b/x11-misc/grsync/grsync-1.2.6.ebuild index 4115d15bc3b..53875ffebda 100644 --- a/x11-misc/grsync/grsync-1.2.6.ebuild +++ b/x11-misc/grsync/grsync-1.2.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,6 +19,8 @@ DEPEND="${RDEPEND} DOCS="AUTHORS NEWS README" +PATCHES=( "${FILESDIR}"/${P}-gcc-10.patch ) + src_configure() { econf --disable-unity }