[49246] trunk/dports/audio
yves at macports.org
yves at macports.org
Sun Apr 5 20:25:38 PDT 2009
Revision: 49246
http://trac.macports.org/changeset/49246
Author: yves at macports.org
Date: 2009-04-05 20:25:37 -0700 (Sun, 05 Apr 2009)
Log Message:
-----------
New port oggsplit
Added Paths:
-----------
trunk/dports/audio/oggsplit/
trunk/dports/audio/oggsplit/Portfile
trunk/dports/audio/oggsplit/files/
trunk/dports/audio/oggsplit/files/patch-system.h
trunk/dports/audio/oggsplit/files/patch-xmalloc.c
Added: trunk/dports/audio/oggsplit/Portfile
===================================================================
--- trunk/dports/audio/oggsplit/Portfile (rev 0)
+++ trunk/dports/audio/oggsplit/Portfile 2009-04-06 03:25:37 UTC (rev 49246)
@@ -0,0 +1,35 @@
+# $Id: Portfile 49236 2009-04-06 01:59:05Z yves at macports.org $
+
+PortSystem 1.0
+
+name oggsplit
+version 0.1.0
+categories audio
+maintainers yves
+description Split multiplexed (grouped or chained) Ogg files into separate streams
+long_description \
+ oggsplit is a simple tool for splitting multiplexed (grouped or chained) Ogg \
+ files into separate streams. It can thus be used to take apart two concatenated \
+ streams (i.e. it undoes the process of cat file1.ogg file2.ogg > file3.ogg) or \
+ to split two streams which are grouped, for example the video and audio streams \
+ in a theora+vorbis file
+
+platforms darwin
+
+homepage http://www.freshports.org/audio/oggsplit/
+
+master_sites http://homepage.ntlworld.com/jfe1205/OggVorbis/
+
+use_bzip2 yes
+
+checksums md5 a0cfe3258930ed3c6bf678ac996725e1
+
+depends_build port:autoconf port:automake
+depends_lib port:libogg
+
+patchfiles patch-system.h \
+ patch-xmalloc.c
+
+pre-configure {
+ system "cd ${worksrcpath} && ./autogen.sh"
+}
Added: trunk/dports/audio/oggsplit/files/patch-system.h
===================================================================
--- trunk/dports/audio/oggsplit/files/patch-system.h (rev 0)
+++ trunk/dports/audio/oggsplit/files/patch-system.h 2009-04-06 03:25:37 UTC (rev 49246)
@@ -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>
Added: trunk/dports/audio/oggsplit/files/patch-xmalloc.c
===================================================================
--- trunk/dports/audio/oggsplit/files/patch-xmalloc.c (rev 0)
+++ trunk/dports/audio/oggsplit/files/patch-xmalloc.c 2009-04-06 03:25:37 UTC (rev 49246)
@@ -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;
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090405/8a72c18a/attachment.html>
More information about the macports-changes
mailing list