diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/ripperx/files/patch-src_ripper__encoder__manipulation.c | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/ripperx/files/patch-src_ripper__encoder__manipulation.c')
-rw-r--r-- | audio/ripperx/files/patch-src_ripper__encoder__manipulation.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/ripperx/files/patch-src_ripper__encoder__manipulation.c b/audio/ripperx/files/patch-src_ripper__encoder__manipulation.c new file mode 100644 index 000000000000..f076bcb271e4 --- /dev/null +++ b/audio/ripperx/files/patch-src_ripper__encoder__manipulation.c @@ -0,0 +1,28 @@ +--- src/ripper_encoder_manipulation.c.orig 2010-11-07 05:42:25 UTC ++++ src/ripper_encoder_manipulation.c +@@ -16,7 +16,6 @@ + #include <fcntl.h> + #include <sys/wait.h> + #include <sys/ioctl.h> +-#include <pty.h> + + #include "ripper_encoder_manipulation.h" + #include "misc_utils.h" +@@ -340,7 +339,7 @@ int execute_ripper_encoder_with_plugin( + dup2( pty_fd0, 0 ); + dup2( tty_fd1, 1 ); + +- setpgrp(); ++ setpgid(0, 0); + execvp( plugin_argv[ 0 ], plugin_argv ); + + dup2( stderr_fd, 2 ); +@@ -373,7 +372,7 @@ int execute_ripper_encoder_with_plugin( + dup2( tty_fd0, 1 ); + dup2( tty_fd0, 2 ); + +- setpgrp(); ++ setpgid(0, 0); + execvp( program_argv[ 0 ], program_argv ); + + dup2( stderr_fd, 2 ); |