commit d8d6beb029d7825c3008cbff8ebdc9ac7b6f20a1
Author: Lucian Langa <lucilanga(a)gnome.org>
Date: Wed May 1 00:48:09 2013 +0200
fix FTBFS
grig-0.8.0-deprecated.patch | 19 +++++++++++++++++++
grig.spec | 7 ++++++-
2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/grig-0.8.0-deprecated.patch b/grig-0.8.0-deprecated.patch
new file mode 100644
index 0000000..cbe8905
--- /dev/null
+++ b/grig-0.8.0-deprecated.patch
@@ -0,0 +1,19 @@
+diff -Naur grig-0.8.0/src/main.c grig-0.8.0-mod/src/main.c
+--- grig-0.8.0/src/main.c 2011-06-27 12:02:28.000000000 +0200
++++ grig-0.8.0-mod/src/main.c 2013-05-01 00:42:11.298201590 +0200
+@@ -178,15 +178,6 @@
+ g_free (fname);
+
+
+- /* initialize threads; according to glib docs, this call will terminate
+- the program if threads are not supported... then why doesn''t it work
+- on FreeBSD?
+- */
+- if (!g_thread_supported ())
+- g_thread_init (NULL);
+-
+-
+-
+ /* decode command line arguments; this part of the code only sets the
+ global flags and variables, whereafter we check each variable in
+ descending priority order. This way it is easy to exit the program
diff --git a/grig.spec b/grig.spec
index f669bae..6a914ad 100644
--- a/grig.spec
+++ b/grig.spec
@@ -1,7 +1,7 @@
Name: grig
Version: 0.8.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A Ham Radio Control graphical user interface
Group: Applications/Communications
@@ -10,6 +10,7 @@ URL:
http://groundstation.sourceforge.net/grig/
Source0:
http://prdownloads.sourceforge.net/groundstation/%{name}-%{version}.tar.gz
Source1: grig.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: %{name}-%{version}-deprecated.patch
BuildRequires: hamlib-devel >= 1.2.5
BuildRequires: gtk2-devel >= 2.6.0
@@ -27,6 +28,7 @@ user to the same interface regardless of which radio he or she uses.
%prep
%setup -q
+%patch0 -p1 -b .deprecated
%build
%configure --disable-dependency-tracking
@@ -66,6 +68,9 @@ update-desktop-database > /dev/null 2>&1 || :
%changelog
+* Tue Apr 30 2013 Lucian Langa <cooly(a)gnome.eu.org> - 0.8.0-6
+- fix ftbfs due to deprecated funcs
+
* Fri Apr 11 2013 Jon Ciesla <limburgher(a)gmail.com> - 0.8.0-5
- Drop desktop vendor tag.