1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

multimedia/obs-ndi: Fix libndi.so name in the code and mark BROKEN

PR:		258694
This commit is contained in:
Yuri Victorovich 2022-01-14 11:22:18 -08:00
parent 38e4528ec5
commit 61dc21a303
2 changed files with 14 additions and 1 deletions

View File

@ -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>

View File

@ -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__