summaryrefslogtreecommitdiff
path: root/audio/oggsplit/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-29 04:24:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-29 04:24:24 +0000
commit607838a9cc960811973c1cff017938bbacd7487b (patch)
treef39bf62b1ffdeb4f1ba0e2b248f25c187f5d85e3 /audio/oggsplit/files
parento Track BitTorrent's codeville development repository (diff)
Add oggsplit, a simple tool for splitting multiplexed (grouped or chained) Ogg
files into separate streams.
Notes
Notes: svn path=/head/; revision=125417
Diffstat (limited to 'audio/oggsplit/files')
-rw-r--r--audio/oggsplit/files/patch-system.h10
-rw-r--r--audio/oggsplit/files/patch-xmalloc.c33
2 files changed, 43 insertions, 0 deletions
diff --git a/audio/oggsplit/files/patch-system.h b/audio/oggsplit/files/patch-system.h
new file mode 100644
index 000000000000..f1be850db7ee
--- /dev/null
+++ b/audio/oggsplit/files/patch-system.h
@@ -0,0 +1,10 @@
+--- system.h.orig Mon Aug 4 22:23:50 2003
++++ system.h Wed Dec 29 05:14:07 2004
+@@ -170,7 +170,6 @@
+ # include <string.h>
+ #else
+ # include <strings.h>
+-char *memchr ();
+ #endif
+
+ #include <errno.h>
diff --git a/audio/oggsplit/files/patch-xmalloc.c b/audio/oggsplit/files/patch-xmalloc.c
new file mode 100644
index 000000000000..0b9a2c53d8d1
--- /dev/null
+++ b/audio/oggsplit/files/patch-xmalloc.c
@@ -0,0 +1,33 @@
+--- xmalloc.c.orig Mon Aug 4 22:23:50 2003
++++ xmalloc.c Wed Dec 29 04:56:49 2004
+@@ -44,8 +44,6 @@
+ # define _(Text) Text
+ #endif
+
+-#include "error.h"
+-
+ #ifndef EXIT_FAILURE
+ # define EXIT_FAILURE 1
+ #endif
+@@ -64,12 +62,6 @@
+ The caller may set it to some other value. */
+ int xmalloc_exit_failure = EXIT_FAILURE;
+
+-#if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT)
+-void error (int, int, const char *, ...);
+-#else
+-void error ();
+-#endif
+-
+ static VOID *
+ fixup_null_alloc (n)
+ size_t n;
+@@ -79,8 +71,6 @@
+ p = 0;
+ if (n == 0)
+ p = malloc ((size_t) 1);
+- if (p == 0)
+- error (xmalloc_exit_failure, 0, _("Memory exhausted"));
+ return p;
+ }
+