1 |
commit: 32c269aca1e75d6a6bcc3909b2a5ad184849532b |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 30 20:46:36 2019 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 30 20:47:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c269ac |
7 |
|
8 |
x11-plugins/wmfire: drop broken inlining |
9 |
|
10 |
Closes: https://bugs.gentoo.org/686136 |
11 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
12 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
13 |
|
14 |
.../wmfire/files/wmfire-1.2.4-inline_c99.patch | 21 +++++++++++++++++++++ |
15 |
x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild | 3 ++- |
16 |
2 files changed, 23 insertions(+), 1 deletion(-) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000000..34846bf86bd |
21 |
--- /dev/null |
22 |
+++ b/x11-plugins/wmfire/files/wmfire-1.2.4-inline_c99.patch |
23 |
@@ -0,0 +1,21 @@ |
24 |
+diff -Naur wmfire-1.2.4.orig/src/wmfire.c wmfire-1.2.4/src/wmfire.c |
25 |
+--- wmfire-1.2.4.orig/src/wmfire.c 2005-12-04 11:39:16.000000000 +0100 |
26 |
++++ wmfire-1.2.4/src/wmfire.c 2019-07-30 22:43:03.306268675 +0200 |
27 |
+@@ -108,7 +108,7 @@ |
28 |
+ void change_flame(int); |
29 |
+ GdkCursor *setup_cursor(); |
30 |
+ void burn_spot(int, int, int); |
31 |
+-inline void draw_fire(unsigned int); |
32 |
++void draw_fire(unsigned int); |
33 |
+ static void make_wmfire_dockapp(); |
34 |
+ void read_config(int, char **); |
35 |
+ void do_help(void); |
36 |
+@@ -470,7 +470,7 @@ |
37 |
+ /* Draw fire */ |
38 |
+ /******************************************/ |
39 |
+ |
40 |
+-inline void |
41 |
++void |
42 |
+ draw_fire(unsigned int load) |
43 |
+ { |
44 |
+ int x, y, i, j; |
45 |
|
46 |
diff --git a/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild b/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild |
47 |
index dbf51f0404f..eb4a64478ef 100644 |
48 |
--- a/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild |
49 |
+++ b/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild |
50 |
@@ -1,4 +1,4 @@ |
51 |
-# Copyright 1999-2018 Gentoo Authors |
52 |
+# Copyright 1999-2019 Gentoo Authors |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
|
55 |
EAPI=7 |
56 |
@@ -30,6 +30,7 @@ src_prepare() { |
57 |
eapply "${FILESDIR}"/${PN}-1.2.3-stringh.patch |
58 |
eapply "${FILESDIR}"/${P}-no_display.patch |
59 |
eapply "${FILESDIR}"/${P}-lastprocessor_SMP.patch |
60 |
+ eapply "${FILESDIR}"/${P}-inline_c99.patch |
61 |
eautoreconf |
62 |
} |