pkgsrc/audio/mp3splt/patches/patch-aa
schmonz e111d74c3f Update mp3splt to 2.2.1 (obviating the need for mp3splt-devel) and take
MAINTAINER. From the changelog:

- corrected the -g option to be more intuitive
- fixed bug in the man page (from wrong '-t' to wrong '-g')
- changed small usage error on '-g' option
- mp3splt is now using libmp3splt
- checks for compatibilities between options
- added 'm-' for mp3 STDIN
- possibility to specify the server and port for freedb search;
    (now using tracktype.org by default)
- original id3v1 for mp3 tags are kept in the splitted files and also
    ogg vorbis tags
- add custom tags with the new '-g' option
- '-o' option now creates the specified directories if '-d' option is not
    specified
- added '-Q' option which enables the '-q' option and does not print
    anything to STDOUT
- added experimental '-D' debug mode option
- added '-i' option for counting the number of silence splitpoints
- also added '-h' option which shows a small usage
2008-10-05 22:56:41 +00:00

20 lines
442 B
Text

$NetBSD: patch-aa,v 1.4 2008/10/05 22:56:41 schmonz Exp $
--- src/mp3splt.c.orig 2006-12-21 16:35:40.000000000 -0500
+++ src/mp3splt.c
@@ -31,7 +31,14 @@
#include <libmp3splt/mp3splt.h>
-#include "getopt.h"
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcomat/cdefs.h>
+#include <nbcompat/getopt.h>
+#else
+#include <getopt.h>
+#endif
+
//constants
//we include the "config.h" file from the config options