From 6e8ed0dd2b70c51cc892fda6e67a3249b4839439 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 21 Oct 2016 21:54:00 +0200 Subject: [PATCH] - do not inline callback functions - rel 4 --- gnokii.spec | 4 +++- no-inline.patch | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 no-inline.patch diff --git a/gnokii.spec b/gnokii.spec index 5040c5f..7a52184 100644 --- a/gnokii.spec +++ b/gnokii.spec @@ -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 index 0000000..b28774f --- /dev/null +++ b/no-inline.patch @@ -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); + } -- 2.44.0