From 61dc21a3030c154c0723a3ec27a172193fb6e890 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Fri, 14 Jan 2022 11:22:18 -0800 Subject: [PATCH] multimedia/obs-ndi: Fix libndi.so name in the code and mark BROKEN PR: 258694 --- multimedia/obs-ndi/Makefile | 4 +++- .../obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h diff --git a/multimedia/obs-ndi/Makefile b/multimedia/obs-ndi/Makefile index a456aaab3c0c..0ce4f02b9bad 100644 --- a/multimedia/obs-ndi/Makefile +++ b/multimedia/obs-ndi/Makefile @@ -1,6 +1,6 @@ PORTNAME= obs-ndi DISTVERSION= 4.9.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org @@ -17,4 +17,6 @@ USE_GITHUB= yes GH_ACCOUNT= Palakis USE_QT= core gui widgets buildtools_build qmake_build +BROKEN= ERROR: NDIlib_v4_load not found in loaded library: https://code.videolan.org/jbk/libndi/-/issues/9, bug#258694 + .include diff --git a/multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h b/multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h new file mode 100644 index 000000000000..eabdfff9524e --- /dev/null +++ b/multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h @@ -0,0 +1,11 @@ +--- lib/ndi/Processing.NDI.Lib.h.orig 2022-01-14 18:57:16 UTC ++++ lib/ndi/Processing.NDI.Lib.h +@@ -60,7 +60,7 @@ + # define NDILIB_REDIST_FOLDER "NDI_RUNTIME_DIR_V4" + # define NDILIB_REDIST_URL "http://new.tk/NDIRedistV4Apple" + # else // __APPLE__ +-# define NDILIB_LIBRARY_NAME "libndi.so.4" ++# define NDILIB_LIBRARY_NAME "libndi.so" + # define NDILIB_REDIST_FOLDER "NDI_RUNTIME_DIR_V4" + # define NDILIB_REDIST_URL "" + # endif // __APPLE__