View | Details | Raw Unified | Return to bug 266774 | Differences between
and this patch

Collapse All | Expand All

(-)comms/hackrf.20221004/Makefile (-1 / +3 lines)
Lines 1-5 Link Here
1
PORTNAME=	hackrf
1
PORTNAME=	hackrf
2
PORTVERSION=	2021.03.1
2
PORTVERSION=	2021.03.1
3
PORTREVISION=	1
3
CATEGORIES=	comms devel hamradio science security
4
CATEGORIES=	comms devel hamradio science security
4
5
5
MAINTAINER=	tomek@cedro.info
6
MAINTAINER=	tomek@cedro.info
Lines 8-14 Link Here
8
9
9
LICENSE=	GPLv2
10
LICENSE=	GPLv2
10
11
11
LIB_DEPENDS=	libfftw3.so:math/fftw3
12
LIB_DEPENDS=	libfftw3.so:math/fftw3\
13
		libfftw3f.so:math/fftw3-float
12
14
13
USES=		cmake
15
USES=		cmake
14
USE_GITHUB=	YES
16
USE_GITHUB=	YES
(-)comms/hackrf.20221004/files/patch-host_hackrf-tools_CMakeLists.txt (+11 lines)
Line 0 Link Here
1
--- host/hackrf-tools/CMakeLists.txt.orig	2020-10-13 21:46:30 UTC
2
+++ host/hackrf-tools/CMakeLists.txt
3
@@ -33,7 +33,7 @@ include_directories(getopt)
4
 add_definitions(/D _CRT_SECURE_NO_WARNINGS)
5
 else()
6
 add_definitions(-Wall)
7
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")
8
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
9
 endif()
10
 
11
 if(NOT libhackrf_SOURCE_DIR)
(-)comms/hackrf.20221004/files/patch-host_libhackrf_CMakeLists.txt (+11 lines)
Line 0 Link Here
1
--- host/libhackrf/CMakeLists.txt.orig	2020-10-13 21:46:30 UTC
2
+++ host/libhackrf/CMakeLists.txt
3
@@ -37,7 +37,7 @@ if(MSVC)
4
 	set(THREADS_USE_PTHREADS_WIN32 true)
5
 else()
6
 	add_definitions(-Wall)
7
-	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")
8
+	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
9
 
10
 	INCLUDE(TestBigEndian)
11
 	TEST_BIG_ENDIAN(BIGENDIAN)

Return to bug 266774