Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2022 15:34:22 GMT
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: eb388ddd2808 - 2022Q1 - audio/codec2: missing patch
Message-ID:  <202201201534.20KFYMfD031892@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q1 has been updated by db:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb388ddd2808ab8de68746b27e9119ac54526eff

commit eb388ddd2808ab8de68746b27e9119ac54526eff
Author:     Diane Bruce <db@FreeBSD.org>
AuthorDate: 2022-01-04 23:04:14 +0000
Commit:     Diane Bruce <db@FreeBSD.org>
CommitDate: 2022-01-20 15:34:14 +0000

    audio/codec2: missing patch
    
    I thought I did the commit -a
    bump the PORTREVISION to make sure this gets rebuilt
    
    (cherry picked from commit 07060a51a4f3559cf4fdcb591b73cdb20a94e295)
---
 audio/codec2/Makefile                            |  1 +
 audio/codec2/files/patch-unittest_CMakeLists.txt | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/audio/codec2/Makefile b/audio/codec2/Makefile
index b06a9672ae5a..06f0a232a75e 100644
--- a/audio/codec2/Makefile
+++ b/audio/codec2/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	codec2
 DISTVERSIONPREFIX=v
 DISTVERSION=	1.0.3
+PORTREVISION=	1
 CATEGORIES=	audio hamradio
 
 MAINTAINER=	hamradio@FreeBSD.org
diff --git a/audio/codec2/files/patch-unittest_CMakeLists.txt b/audio/codec2/files/patch-unittest_CMakeLists.txt
new file mode 100644
index 000000000000..87d65febe48a
--- /dev/null
+++ b/audio/codec2/files/patch-unittest_CMakeLists.txt
@@ -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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201201534.20KFYMfD031892>