aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-01-14 19:22:18 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-01-14 19:25:28 +0000
commit61dc21a3030c154c0723a3ec27a172193fb6e890 (patch)
treeefc660b44852f87b8f459eefbb53d5f5434a8bf2
parent38e4528ec5c3465de52a66b4f3857b8e86d045fc (diff)
downloadports-61dc21a3030c154c0723a3ec27a172193fb6e890.tar.gz
ports-61dc21a3030c154c0723a3ec27a172193fb6e890.zip
multimedia/obs-ndi: Fix libndi.so name in the code and mark BROKEN
PR: 258694
-rw-r--r--multimedia/obs-ndi/Makefile4
-rw-r--r--multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h11
2 files changed, 14 insertions, 1 deletions
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 <bsd.port.mk>
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__