0008-libvlc-hack-to-disable-daemon-mode.patch 679 Bytes
Newer Older
Felix Paul Kühne's avatar
Felix Paul Kühne committed
1
From 8c335f6a6ddfd0584c8dc804e03b37011b45fb10 Mon Sep 17 00:00:00 2001
Felix Paul Kühne's avatar
Felix Paul Kühne committed
2
3
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Fri, 11 Sep 2015 18:34:26 +0200
Felix Paul Kühne's avatar
Felix Paul Kühne committed
4
Subject: [PATCH 08/22] libvlc: hack to disable daemon mode
Felix Paul Kühne's avatar
Felix Paul Kühne committed
5
6
7
8
9
10

---
 src/libvlc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libvlc.c b/src/libvlc.c
Felix Paul Kühne's avatar
Felix Paul Kühne committed
11
index d3ce702..8cdc0bc 100644
Felix Paul Kühne's avatar
Felix Paul Kühne committed
12
13
--- a/src/libvlc.c
+++ b/src/libvlc.c
Felix Paul Kühne's avatar
Felix Paul Kühne committed
14
15
@@ -196,6 +196,10 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         goto error;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
16
17
     }
 
Felix Paul Kühne's avatar
Felix Paul Kühne committed
18
+#ifdef __APPLE__
Felix Paul Kühne's avatar
Felix Paul Kühne committed
19
20
21
22
23
24
25
+#undef HAVE_DAEMON
+#endif
+
 #ifdef HAVE_DAEMON
     /* Check for daemon mode */
     if( var_InheritBool( p_libvlc, "daemon" ) )
-- 
Felix Paul Kühne's avatar
Felix Paul Kühne committed
26
2.9.3
Felix Paul Kühne's avatar
Felix Paul Kühne committed
27