audio/codec2: missing patch

I thought I did the commit -a
bump the PORTREVISION to make sure this gets rebuilt
This commit is contained in:
Diane Bruce 2022-01-04 18:04:14 -05:00
parent 29c3e2e6e1
commit 07060a51a4
2 changed files with 16 additions and 0 deletions

View file

@ -1,6 +1,7 @@
PORTNAME= codec2
DISTVERSIONPREFIX=v
DISTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= audio hamradio
MAINTAINER= hamradio@FreeBSD.org

View file

@ -0,0 +1,15 @@
--- unittest/CMakeLists.txt.orig 2022-01-04 12:38:05 UTC
+++ unittest/CMakeLists.txt
@@ -97,6 +97,7 @@ target_link_libraries(t48_8 codec2)
add_executable(t48_8_short t48_8_short.c ../src/fdmdv.c ../src/kiss_fft.c)
target_link_libraries(t48_8_short codec2)
+if ( BUILD_CML)
# Build CML as part of unit test setup
find_program(OCTAVE_CMD octave-cli REQUIRED)
message("Octave command: ${OCTAVE_CMD}")
@@ -122,3 +123,4 @@ add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/faster_fading_samples.float
COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && ./fading_files.sh ${CMAKE_CURRENT_BINARY_DIR}
)
+endif()