SHA256
1
0
forked from pool/gnuradio

Accepting request 497388 from home:mnhauke:sdr-devel

- Add patches to fix builds on Factory
  + 0001-gr-fec-switch-possible-C-11-code-from-constexpr-to-j.patch
  + CMake-set-C++-standard-to-c++11-and-C-standard-to-C99.diff

OBS-URL: https://build.opensuse.org/request/show/497388
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=10
This commit is contained in:
Martin Pluskal
2017-05-23 11:50:37 +00:00
committed by Git OBS Bridge
parent 2a51e14141
commit 4f2f3c00af
4 changed files with 110 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ Source: http://gnuradio.org/releases/gnuradio/gnuradio-%{version}.tar.gz
Source1: %{name}-rpmlintrc
# http://www.nathanwest.us/grc_to_37.sh
Source2: grc_to_37.sh
Patch0: CMake-set-C++-standard-to-c++11-and-C-standard-to-C99.diff
Patch1: 0001-gr-fec-switch-possible-C-11-code-from-constexpr-to-j.patch
BuildRequires: alsa-devel
BuildRequires: boost-devel
BuildRequires: cmake
@@ -185,6 +187,11 @@ This package contains the examples of using GNU Radio depending on wxWidgets.
%prep
%setup -q
# Workaround for Tumbleweed until GNURadio 3.8 is released
%if 0%{?suse_version} > 1320
%patch0 -p1
%patch1 -p1
%endif
# remove buildtime from documentation
sed -i 's|^HTML_TIMESTAMP = YES|HTML_TIMESTAMP = NO|' docs/doxygen/Doxyfile.in
sed -i 's|^HTML_TIMESTAMP = YES|HTML_TIMESTAMP = NO|' docs/doxygen/Doxyfile.swig_doc.in