[PATCH 4/5] Added patch to remove inline from extern function (closes: #925858).

Jeremy Sowden jeremy at azazel.net
Sat Jun 22 12:43:43 BST 2019


---
 ...ne-from-function-with-extern-linkage.patch | 29 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 debian/patches/removed-inline-from-function-with-extern-linkage.patch

diff --git a/debian/patches/removed-inline-from-function-with-extern-linkage.patch b/debian/patches/removed-inline-from-function-with-extern-linkage.patch
new file mode 100644
index 000000000000..3d441dc3203b
--- /dev/null
+++ b/debian/patches/removed-inline-from-function-with-extern-linkage.patch
@@ -0,0 +1,29 @@
+From 7f5b40d6ad8a8d56bc15c686d378ee9284c0d9cd Mon Sep 17 00:00:00 2001
+From: Jeremy Sowden <jeremy at azazel.net>
+Date: Sat, 22 Jun 2019 11:37:44 +0100
+Subject: [PATCH] Removed inline from function with extern linkage.
+
+---
+ src/wmfire.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/src/wmfire.c
++++ b/src/wmfire.c
+@@ -111,7 +111,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);
+@@ -504,7 +504,7 @@
+ /* Draw fire                              */
+ /******************************************/
+ 
+-inline void
++void
+ draw_fire(unsigned int load)
+ {
+ 	int x, y, i, j;
diff --git a/debian/patches/series b/debian/patches/series
index 6635dcfcb024..c96a80b84c95 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ fix_manpage.patch
 gdk_updates.patch
 fix_-Wunused-result.patch
 freebsd_port.patch
+removed-inline-from-function-with-extern-linkage.patch
-- 
2.20.1




More information about the Pkg-wmaker-devel mailing list