From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/files/, net-p2p/transmission-remote-gtk/
Date: Fri, 20 Mar 2020 20:15:14 +0000 (UTC) [thread overview]
Message-ID: <1584735297.5801471187c94578ce69daaee1f2fe9fda3d4256.soap@gentoo> (raw)
commit: 5801471187c94578ce69daaee1f2fe9fda3d4256
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 20 20:14:57 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 20:14:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58014711
net-p2p/transmission-remote-gtk: Replace with updated upstream patch
Bug: https://bugs.gentoo.org/706980
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap <AT> gentoo.org>
...mission-remote-gtk-1.4.1-gcc10-fno-common.patch | 24 +++++++---------------
.../transmission-remote-gtk-1.4.1.ebuild | 3 +--
2 files changed, 8 insertions(+), 19 deletions(-)
diff --git a/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.4.1-gcc10-fno-common.patch b/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.4.1-gcc10-fno-common.patch
index 5cba628a07c..1c445b50854 100644
--- a/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.4.1-gcc10-fno-common.patch
+++ b/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.4.1-gcc10-fno-common.patch
@@ -1,18 +1,17 @@
-From 617aaf628962af85bf9b44ab517fec2b6fa178f9 Mon Sep 17 00:00:00 2001
+From b20655081332847426a7d10189bb1e2369efea42 Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
-Date: Tue, 10 Mar 2020 11:20:12 +0100
+Date: Fri, 20 Mar 2020 20:30:24 +0100
Subject: [PATCH] Fix building under GCC 10 / -fno-common
-* Define an enum type `TrgColumnType`, not an anonymous
- enum with an object called `TrgColumnType`.
+* Add a `typedef` to avoid defining a variable.
Bug: https://bugs.gentoo.org/706980
---
- src/trg-tree-view.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ src/trg-tree-view.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/trg-tree-view.h b/src/trg-tree-view.h
-index 435848f..363f662 100644
+index 435848f..78cd76e 100644
--- a/src/trg-tree-view.h
+++ b/src/trg-tree-view.h
@@ -51,7 +51,7 @@ GtkWidget *trg_tree_view_new(void);
@@ -20,16 +19,7 @@ index 435848f..363f662 100644
G_END_DECLS GList *trg_tree_view_get_selected_refs_list(GtkTreeView * tv);
-enum {
-+enum TrgColumnType {
++typedef enum {
TRG_COLTYPE_ICONTEXT,
TRG_COLTYPE_FILEICONTEXT,
TRG_COLTYPE_WANTED,
-@@ -65,7 +65,7 @@ enum {
- TRG_COLTYPE_PRIO,
- TRG_COLTYPE_NUMGTZERO,
- TRG_COLTYPE_NUMGTEQZERO
--} TrgColumnType;
-+};
-
- typedef struct {
- gint model_column;
diff --git a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.4.1.ebuild b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.4.1.ebuild
index c769e211f47..38e770e754b 100644
--- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.4.1.ebuild
+++ b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.4.1.ebuild
@@ -35,8 +35,7 @@ DEPEND="${RDEPEND}
" # eautoreconf needs sys-devel/autoconf-archive
PATCHES=(
- # https://github.com/transmission-remote-gtk/transmission-remote-gtk/pull/92
- "${FILESDIR}"/${PN}-1.4.1-gcc10-fno-common.patch
+ "${FILESDIR}"/${PN}-1.4.1-gcc10-fno-common.patch # merged, remove on bump
)
src_configure() {
next reply other threads:[~2020-03-20 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-20 20:15 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-30 14:32 [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission-remote-gtk/files/, net-p2p/transmission-remote-gtk/ Mike Gilbert
2023-05-08 17:48 Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584735297.5801471187c94578ce69daaee1f2fe9fda3d4256.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox