x11-plugins/wmfire: drop broken inlining
authorBernard Cafarelli <voyageur@gentoo.org>
Tue, 30 Jul 2019 20:46:36 +0000 (22:46 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Tue, 30 Jul 2019 20:47:04 +0000 (22:47 +0200)
Closes: https://bugs.gentoo.org/686136
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
x11-plugins/wmfire/files/wmfire-1.2.4-inline_c99.patch [new file with mode: 0644]
x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild

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 (file)
index 0000000..34846bf
--- /dev/null
@@ -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;
index dbf51f0404f5fc80daf3e4d89eef9a946170be78..eb4a64478ef2be84e708fef8b2b750f483cda14a 100644 (file)
@@ -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
 }