summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/gnokii/gnokii-gcc5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-deps/gnokii/gnokii-gcc5.patch')
-rw-r--r--arch/tde-deps/gnokii/gnokii-gcc5.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/tde-deps/gnokii/gnokii-gcc5.patch b/arch/tde-deps/gnokii/gnokii-gcc5.patch
new file mode 100644
index 000000000..09b65f5b0
--- /dev/null
+++ b/arch/tde-deps/gnokii/gnokii-gcc5.patch
@@ -0,0 +1,27 @@
+Patch by Robert Scheck <[email protected]> for gnokii <= 0.6.31 to avoid
+build failures with GCC 5.x as "gnokii-0.6.31/xgnokii/xgnokii.c:1209: undefined
+reference to `GUI_HideAbout'" and "xgnokii-xgnokii_logos.o:(.data.rel+0xe0):
+undefined reference to `CloseLogosWindow'".
+
+--- gnokii-0.6.31/xgnokii/xgnokii.c 2011-12-02 15:53:04.000000000 +0100
++++ gnokii-0.6.31/xgnokii/xgnokii.c.gcc5 2015-06-20 15:49:59.000000000 +0200
+@@ -798,7 +798,7 @@
+ }
+
+
+-inline void GUI_HideAbout(void)
++void GUI_HideAbout(void)
+ {
+ gtk_widget_hide(AboutDialog);
+ }
+--- gnokii-0.6.31/xgnokii/xgnokii_logos.c 2011-12-02 15:53:04.000000000 +0100
++++ gnokii-0.6.31/xgnokii/xgnokii_logos.c.gcc5 2015-06-20 15:50:15.000000000 +0200
+@@ -1304,7 +1304,7 @@
+ return 0;
+ }
+
+-inline void CloseLogosWindow(void)
++void CloseLogosWindow(void)
+ {
+ gtk_widget_hide(GUI_LogosWindow);
+ }