]> git.pld-linux.org Git - packages/gnokii.git/commitdiff
- do not inline callback functions auto/th/gnokii-0.6.31-4
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Oct 2016 19:54:00 +0000 (21:54 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Oct 2016 19:54:00 +0000 (21:54 +0200)
- rel 4

gnokii.spec
no-inline.patch [new file with mode: 0644]

index 5040c5fde6ebd1a7e0fe58634746fc8a7fd97aa2..7a521846b1f8ab63918ff47e1e9945352e619e0e 100644 (file)
@@ -14,7 +14,7 @@ Summary:      Linux/Unix tool suite for mobile phones
 Summary(pl.UTF-8):     Linuksowy/uniksowy zestaw narzędzi dla telefonów komórkowych
 Name:          gnokii
 Version:       0.6.31
-Release:       3
+Release:       4
 Epoch:         1
 License:       GPL v2+
 Group:         Applications/Communications
@@ -25,6 +25,7 @@ Source2:      %{name}.png
 Source3:       %{name}.smsd.config
 Source4:       %{name}.smsd.init
 Patch0:                %{name}-pld.patch
+Patch1:                no-inline.patch
 URL:           http://www.gnokii.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -179,6 +180,7 @@ Wtyczka obsługi plików dla gnokii-smsd.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/no-inline.patch b/no-inline.patch
new file mode 100644 (file)
index 0000000..b28774f
--- /dev/null
@@ -0,0 +1,22 @@
+--- gnokii-0.6.31/xgnokii/xgnokii.c~   2011-12-02 15:53:04.000000000 +0100
++++ gnokii-0.6.31/xgnokii/xgnokii.c    2016-10-21 21:51:05.865776829 +0200
+@@ -798,7 +798,7 @@
+ }
+-inline void GUI_HideAbout(void)
++static 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      2016-10-21 21:51:40.220672065 +0200
+@@ -1304,7 +1304,7 @@
+       return 0;
+ }
+-inline void CloseLogosWindow(void)
++static void CloseLogosWindow(void)
+ {
+       gtk_widget_hide(GUI_LogosWindow);
+ }
This page took 0.089593 seconds and 4 git commands to generate.