[gnuradio] New version Resolves: rhbz#781355 Fixed compilation with gcc-4.7.0 (compile-fix patch)
Jaroslav Škarvada
jskarvad at fedoraproject.org
Fri Jan 13 14:48:35 UTC 2012
commit d5397350bc8c7f3997e7c3b73b3d1c269579534c
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Fri Jan 13 15:48:26 2012 +0100
New version
Resolves: rhbz#781355
Fixed compilation with gcc-4.7.0 (compile-fix patch)
gnuradio-3.5.1-compile-fix.patch | 11 +++++++++++
gnuradio.spec | 15 ++++++++++++---
2 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/gnuradio-3.5.1-compile-fix.patch b/gnuradio-3.5.1-compile-fix.patch
new file mode 100644
index 0000000..ae1fa88
--- /dev/null
+++ b/gnuradio-3.5.1-compile-fix.patch
@@ -0,0 +1,11 @@
+diff -up gnuradio-3.5.1/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator_cc.cc.orig gnuradio-3.5.1/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator_cc.cc
+--- gnuradio-3.5.1/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator_cc.cc.orig 2011-05-05 14:19:10.000000000 +0200
++++ gnuradio-3.5.1/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator_cc.cc 2012-01-13 15:12:31.959981553 +0100
+@@ -31,6 +31,7 @@
+ #include <stdio.h>
+ #include <cmath>
+ #include <stdexcept>
++#include <unistd.h>
+
+ #define NELEM(x) (sizeof (x) / sizeof (x[0]))
+
diff --git a/gnuradio.spec b/gnuradio.spec
index c86c2bd..988e0c2 100644
--- a/gnuradio.spec
+++ b/gnuradio.spec
@@ -5,11 +5,11 @@
#%%global git_commit 441a3767e05d15e62c519ea66b848b5adb0f4b3a
# For versions published as attachment (strange)
-%global attachment_id 288
+%global attachment_id 293
Name: gnuradio
-Version: 3.5.0
-Release: 3%{?dist}
+Version: 3.5.1
+Release: 1%{?dist}
Summary: Software defined radio framework
Group: Applications/Engineering
@@ -22,6 +22,9 @@ Source0: http://gnuradio.org/redmine/attachments/download/%{attachment_id}/gnura
# cd gnuradio
# git archive --format=tar --prefix=%%{name}-%%{version}/ %%{git_commit} | \
# gzip > ../%%{name}-%%{version}.tar.gz
+
+# Fix compilation with gcc-4.7.0
+Patch0: gnuradio-3.5.1-compile-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(pre): shadow-utils
@@ -100,6 +103,7 @@ GNU Radio examples
%prep
%setup -q
+%patch0 -p1 -b .compile-fix
#force regeneration of cached moc output files
find . -name "*_moc.cc" -exec rm {} \;
@@ -164,6 +168,11 @@ rm -rf %{buildroot}
%{_datadir}/gnuradio/examples
%changelog
+* Fri Jan 13 2012 Jaroslav Škarvada <jskarvad at redhat.com> - 3.5.1-1
+- New version
+ Resolves: rhbz#781355
+- Fixed compilation with gcc-4.7.0 (compile-fix patch)
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list