pkgsrc/multimedia/avidemux/patches/patch-ab
markd 37e6e5db52 Update to avidemux 2.5.4
Various bug fixes and support for additional video formats.
Including support for gcc4.5 and for latest x264 library.
2011-02-17 09:20:17 +00:00

15 lines
657 B
Text

$NetBSD: patch-ab,v 1.8 2011/02/17 09:20:17 markd Exp $
--- avidemux/ADM_script/ADM_JSFunctions.cpp.orig 2010-08-02 19:07:48.000000000 +0000
+++ avidemux/ADM_script/ADM_JSFunctions.cpp
@@ -377,7 +377,9 @@ JSBool systemExecute(JSContext *cx, JSOb
// clear file descriptor table of forked process and fork
#if defined( __linux__) || defined(__macosx__) || defined(__APPLE__) || defined(__CYGWIN__)
pid_t pidRtn = fork();
-#elif defined(__FreeBSD__) || defined(__OpenBSD__)
+#elif defined(__NetBSD__)
+ pid_t pidRtn = vfork();
+#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
pid_t pidRtn = rfork(RFPROC|RFCFDG);
#endif