summaryrefslogtreecommitdiff
path: root/audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2008-03-04 12:18:18 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2008-03-04 12:18:18 +0000
commite6e05aaaf54a4a25123966449444365809a1cf3e (patch)
treed09c94bee46b2b2adb6e69f07d8c4112ef60fc34 /audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
parent- Fix MASTER_SITES [1]. (diff)
- Update to 2.7.1.
Diffstat (limited to 'audio/ripperx/files/patch-src-ripper_encoder_manipulation.c')
-rw-r--r--audio/ripperx/files/patch-src-ripper_encoder_manipulation.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/audio/ripperx/files/patch-src-ripper_encoder_manipulation.c b/audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
index d8ad8cbb587d..1e5866004572 100644
--- a/audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
+++ b/audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
@@ -1,6 +1,6 @@
---- src/ripper_encoder_manipulation.c.orig Tue Dec 26 22:16:04 2006
-+++ src/ripper_encoder_manipulation.c Tue Dec 26 22:16:17 2006
-@@ -11,7 +11,6 @@
+--- src/ripper_encoder_manipulation.c.orig 2008-02-02 18:51:29.000000000 +0100
++++ src/ripper_encoder_manipulation.c 2008-02-22 16:15:16.000000000 +0100
+@@ -16,7 +16,6 @@
#include <fcntl.h>
#include <sys/wait.h>
#include <sys/ioctl.h>
@@ -8,3 +8,21 @@
#include "ripper_encoder_manipulation.h"
#include "misc_utils.h"
+@@ -335,7 +334,7 @@
+ dup2( pty_fd0, 0 );
+ dup2( tty_fd1, 1 );
+
+- setpgrp();
++ setpgid(0, 0);
+ execvp( plugin_argv[ 0 ], plugin_argv );
+
+ dup2( stderr_fd, 2 );
+@@ -368,7 +367,7 @@
+ dup2( tty_fd0, 1 );
+ dup2( tty_fd0, 2 );
+
+- setpgrp();
++ setpgid(0, 0);
+ execvp( program_argv[ 0 ], program_argv );
+
+ dup2( stderr_fd, 2 );