aboutsummaryrefslogtreecommitdiff
path: root/audio/ripperx
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/ripperx
parent5a20e7990eb544509174d617d359bf0d4ac64737 (diff)
downloadports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.tar.gz
ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.zip
Notes
Diffstat (limited to 'audio/ripperx')
-rw-r--r--audio/ripperx/files/patch-plugins_ripperX__plugin-oggenc.c (renamed from audio/ripperx/files/patch-plugins-ripperX_plugin-oggenc.c)12
-rw-r--r--audio/ripperx/files/patch-src_config__rw.c (renamed from audio/ripperx/files/patch-src-config_rw.c)6
-rw-r--r--audio/ripperx/files/patch-src_ripper__encoder__manipulation.c (renamed from audio/ripperx/files/patch-src-ripper_encoder_manipulation.c)8
3 files changed, 13 insertions, 13 deletions
diff --git a/audio/ripperx/files/patch-plugins-ripperX_plugin-oggenc.c b/audio/ripperx/files/patch-plugins_ripperX__plugin-oggenc.c
index 059fcdbc3f6a..ddbb5d1d419e 100644
--- a/audio/ripperx/files/patch-plugins-ripperX_plugin-oggenc.c
+++ b/audio/ripperx/files/patch-plugins_ripperX__plugin-oggenc.c
@@ -1,16 +1,15 @@
---- plugins/ripperX_plugin-oggenc.c.orig Wed Jan 3 20:15:49 2007
-+++ plugins/ripperX_plugin-oggenc.c Wed Jan 3 20:22:39 2007
+--- plugins/ripperX_plugin-oggenc.c.orig 2006-12-10 07:13:15 UTC
++++ plugins/ripperX_plugin-oggenc.c
@@ -1,5 +1,3 @@
-// strndup is a GNU extension:
-#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-@@ -8,6 +6,21 @@
-
+@@ -9,6 +7,21 @@
#define OGG_OUTPUT_BUF_LENGTH 2048
#define PRINTOUT_INTERVAL 0.5
-+
+
+char
+*strndup(const char *string, size_t n)
+{
@@ -25,6 +24,7 @@
+
+ return ret;
+}
-
++
void
strip_shit(char* input, int len) {
+ int i;
diff --git a/audio/ripperx/files/patch-src-config_rw.c b/audio/ripperx/files/patch-src_config__rw.c
index c292b0367de1..f8cdbba1c0b4 100644
--- a/audio/ripperx/files/patch-src-config_rw.c
+++ b/audio/ripperx/files/patch-src_config__rw.c
@@ -1,6 +1,6 @@
---- src/config_rw.c.orig 2008-01-28 06:00:09.000000000 +0100
-+++ src/config_rw.c 2008-02-21 19:01:31.000000000 +0100
-@@ -87,9 +87,9 @@
+--- src/config_rw.c.orig 2008-01-25 09:53:50 UTC
++++ src/config_rw.c
+@@ -87,9 +87,9 @@ static struct {
{ "Encoder::Plugin", config.encoder.plugin,
STRING, 0, "ripperX_plugin-lame" },
{ "CdPlayer::Play_command", config.cd_player.play_command,
diff --git a/audio/ripperx/files/patch-src-ripper_encoder_manipulation.c b/audio/ripperx/files/patch-src_ripper__encoder__manipulation.c
index 1e5866004572..f076bcb271e4 100644
--- a/audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
+++ b/audio/ripperx/files/patch-src_ripper__encoder__manipulation.c
@@ -1,5 +1,5 @@
---- 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
+--- 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>
@@ -8,7 +8,7 @@
#include "ripper_encoder_manipulation.h"
#include "misc_utils.h"
-@@ -335,7 +334,7 @@
+@@ -340,7 +339,7 @@ int execute_ripper_encoder_with_plugin(
dup2( pty_fd0, 0 );
dup2( tty_fd1, 1 );
@@ -17,7 +17,7 @@
execvp( plugin_argv[ 0 ], plugin_argv );
dup2( stderr_fd, 2 );
-@@ -368,7 +367,7 @@
+@@ -373,7 +372,7 @@ int execute_ripper_encoder_with_plugin(
dup2( tty_fd0, 1 );
dup2( tty_fd0, 2 );