commit:     32c269aca1e75d6a6bcc3909b2a5ad184849532b
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 20:46:36 2019 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 20:47:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c269ac

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 <voyageur <AT> gentoo.org>

 .../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(-)

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 00000000000..34846bf86bd
--- /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 dbf51f0404f..eb4a64478ef 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
 }
 

Reply via email to