git: badd4e8562a4 - main - audio/ncpamixer: Unbreak on CURRENT

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 16 Dec 2021 08:23:53 UTC
The branch main has been updated by yuri:

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

commit badd4e8562a41baff42b5abf18117c7ecaa24d52
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-16 08:23:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-16 08:23:00 +0000

    audio/ncpamixer: Unbreak on CURRENT
    
    A minor compilation warning was elevated to error with -Werror.
    
    Reported by:    fallout
---
 audio/ncpamixer/files/patch-CMakeLists.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/audio/ncpamixer/files/patch-CMakeLists.txt b/audio/ncpamixer/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..460bda1d6906
--- /dev/null
+++ b/audio/ncpamixer/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+- workaround for https://github.com/fulhax/ncpamixer/issues/57
+
+--- CMakeLists.txt.orig	2021-12-16 08:19:36 UTC
++++ CMakeLists.txt
+@@ -76,7 +76,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
+     ${CMAKE_THREAD_LIBS_INIT}
+     )
+ 
+-target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC "-Werror")
++#target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC "-Werror")
+ target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC "-Wall")
+ target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC "-Wpedantic")
+