diff --git a/Sources/BuildScripts/patch/libbluray/fix-no-dadisk.patch b/Sources/BuildScripts/patch/libbluray/fix-no-dadisk.patch deleted file mode 100644 index e0935ed..0000000 --- a/Sources/BuildScripts/patch/libbluray/fix-no-dadisk.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/src/file/mount_darwin.c b/src/file/mount_darwin.c -index 5b13450..930df04 100644 ---- a/src/file/mount_darwin.c -+++ b/src/file/mount_darwin.c -@@ -30,13 +30,12 @@ - #define _DARWIN_C_SOURCE - #include - --#include -+//#include - - static char *bsdname_get_mountpoint(const char *device_path) - { - char *result = NULL; -- -- DASessionRef session = DASessionCreate(kCFAllocatorDefault); -+ /*DASessionRef session = DASessionCreate(kCFAllocatorDefault); - if (session) { - DADiskRef disk = DADiskCreateFromBSDName(kCFAllocatorDefault, session, device_path); - if (disk) { -@@ -56,7 +55,7 @@ static char *bsdname_get_mountpoint(const char *device_path) - CFRelease(disk); - } - CFRelease(session); -- } -+ }*/ - - return result; - } diff --git a/Sources/BuildScripts/patch/libbluray/no_fork_and_exec.patch b/Sources/BuildScripts/patch/libbluray/no_fork_and_exec.patch deleted file mode 100644 index e7c079f..0000000 --- a/Sources/BuildScripts/patch/libbluray/no_fork_and_exec.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c -index 359bc8f..32b080c 100644 ---- a/src/libbluray/bdj/bdj.c -+++ b/src/libbluray/bdj/bdj.c -@@ -256,7 +256,7 @@ static char *_java_home_macos() - return NULL; - } - -- switch (java_home_pid = vfork()) -+ switch (java_home_pid = -1) - { - case -1: - BD_DEBUG(DBG_BDJ | DBG_CRIT, "vfork failed\n"); -@@ -270,7 +270,7 @@ static char *_java_home_macos() - close(fd[1]); - close(fd[0]); - -- execl(MACOS_JAVA_HOME, MACOS_JAVA_HOME); -+ //execl(MACOS_JAVA_HOME, MACOS_JAVA_HOME); - - _exit(-1); -