Accepting request 500302 from home:mnhauke:sdr-devel
- Add patch: - bladeRF-add-cflag-Wno-format-truncation.diff (fix build for Tumbleweed) OBS-URL: https://build.opensuse.org/request/show/500302 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=15
This commit is contained in:
parent
3f89e36c55
commit
3c6b59f0ed
12
bladeRF-add-cflag-Wno-format-truncation.diff
Normal file
12
bladeRF-add-cflag-Wno-format-truncation.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
|
||||||
|
index 848b62d..70a5ca3 100644
|
||||||
|
--- a/host/CMakeLists.txt
|
||||||
|
+++ b/host/CMakeLists.txt
|
||||||
|
@@ -91,6 +91,7 @@ if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR
|
||||||
|
add_definitions(-Wall)
|
||||||
|
add_definitions(-Wextra)
|
||||||
|
add_definitions(-Wno-unused-parameter)
|
||||||
|
+ add_definitions(-Wno-format-truncation)
|
||||||
|
|
||||||
|
if(TREAT_WARNINGS_AS_ERRORS)
|
||||||
|
add_definitions(-Werror)
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 1 06:47:30 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Add patch:
|
||||||
|
- bladeRF-add-cflag-Wno-format-truncation.diff
|
||||||
|
(fix build for Tumbleweed)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 26 18:15:47 UTC 2017 - mardnh@gmx.de
|
Wed Apr 26 18:15:47 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ Group: Productivity/Hamradio/Other
|
|||||||
Url: http://nuand.com/
|
Url: http://nuand.com/
|
||||||
#Git-Clone: https://github.com/Nuand/bladeRF.git
|
#Git-Clone: https://github.com/Nuand/bladeRF.git
|
||||||
Source: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz
|
Source: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz
|
||||||
|
Patch0: bladeRF-add-cflag-Wno-format-truncation.diff
|
||||||
BuildRequires: cmake >= 2.8.4
|
BuildRequires: cmake >= 2.8.4
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -74,6 +75,10 @@ use of libbladerf.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{release_name}
|
%setup -q -n %{name}-%{release_name}
|
||||||
|
# FIXME: should be fixed upstream
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
%patch0 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd host
|
cd host
|
||||||
|
Loading…
Reference in New Issue
Block a user