mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
vlc: remove workaround for posix_spawn.
This commit is contained in:
@@ -664,37 +664,6 @@ index ea1b1b9..acdd9b1 100644
|
||||
case SOCK_SEQPACKET:
|
||||
#ifdef SOCK_DCCP
|
||||
case SOCK_DCCP:
|
||||
diff --git a/src/posix/netconf.c b/src/posix/netconf.c
|
||||
index 4dd751b..54accaa 100644
|
||||
--- a/src/posix/netconf.c
|
||||
+++ b/src/posix/netconf.c
|
||||
@@ -29,7 +29,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <fcntl.h>
|
||||
-#include <spawn.h>
|
||||
+#ifndef __HAIKU__
|
||||
+# include <spawn.h>
|
||||
+#endif
|
||||
#include <unistd.h>
|
||||
|
||||
extern char **environ;
|
||||
@@ -45,6 +47,9 @@ extern char **environ;
|
||||
*/
|
||||
char *vlc_getProxyUrl(const char *url)
|
||||
{
|
||||
+#ifdef __HAIKU__
|
||||
+ return NULL;
|
||||
+#else
|
||||
/* libproxy helper */
|
||||
pid_t pid;
|
||||
posix_spawn_file_actions_t actions;
|
||||
@@ -115,4 +120,5 @@ char *vlc_getProxyUrl(const char *url)
|
||||
if (var != NULL)
|
||||
var = strdup(var);
|
||||
return var;
|
||||
+#endif
|
||||
}
|
||||
--
|
||||
2.13.1
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ VCDs, and various streaming protocols."
|
||||
HOMEPAGE="https://www.videolan.org/vlc/"
|
||||
COPYRIGHT="1998-2017 VideoLAN"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://download.videolan.org/pub/videolan/vlc/$portVersion/vlc-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="c403d3accd9a400eb2181c958f3e7bc5524fe5738425f4253d42883b425a42a8"
|
||||
PATCHES="vlc-$portVersion.patchset"
|
||||
|
||||
Reference in New Issue
Block a user