From 32c269aca1e75d6a6bcc3909b2a5ad184849532b Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Tue, 30 Jul 2019 22:46:36 +0200 Subject: x11-plugins/wmfire: drop broken inlining Closes: https://bugs.gentoo.org/686136 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Bernard Cafarelli --- .../wmfire/files/wmfire-1.2.4-inline_c99.patch | 21 +++++++++++++++++++++ x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 x11-plugins/wmfire/files/wmfire-1.2.4-inline_c99.patch (limited to 'x11-plugins/wmfire') diff --git a/x11-plugins/wmfire/files/wmfire-1.2.4-inline_c99.patch b/x11-plugins/wmfire/files/wmfire-1.2.4-inline_c99.patch new file mode 100644 index 000000000000..34846bf86bdc --- /dev/null +++ b/x11-plugins/wmfire/files/wmfire-1.2.4-inline_c99.patch @@ -0,0 +1,21 @@ +diff -Naur wmfire-1.2.4.orig/src/wmfire.c wmfire-1.2.4/src/wmfire.c +--- wmfire-1.2.4.orig/src/wmfire.c 2005-12-04 11:39:16.000000000 +0100 ++++ wmfire-1.2.4/src/wmfire.c 2019-07-30 22:43:03.306268675 +0200 +@@ -108,7 +108,7 @@ + void change_flame(int); + GdkCursor *setup_cursor(); + void burn_spot(int, int, int); +-inline void draw_fire(unsigned int); ++void draw_fire(unsigned int); + static void make_wmfire_dockapp(); + void read_config(int, char **); + void do_help(void); +@@ -470,7 +470,7 @@ + /* Draw fire */ + /******************************************/ + +-inline void ++void + draw_fire(unsigned int load) + { + int x, y, i, j; diff --git a/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild b/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild index dbf51f0404f5..eb4a64478ef2 100644 --- a/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild +++ b/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,6 +30,7 @@ src_prepare() { eapply "${FILESDIR}"/${PN}-1.2.3-stringh.patch eapply "${FILESDIR}"/${P}-no_display.patch eapply "${FILESDIR}"/${P}-lastprocessor_SMP.patch + eapply "${FILESDIR}"/${P}-inline_c99.patch eautoreconf } -- cgit v1.2.3-65-gdbad