pkgsrc/audio/mserv/patches/patch-af
abs 72919e64a2 Update mserv to mserv-0.33nb2
- Clip TRACKSPERALBUM to 250 not 1200 as more than 255 loses
    - Fix default pathname to mpg123
    - Add DEPENDS for mpg123
    - Fix soundcard support
2002-06-14 20:04:07 +00:00

24 lines
563 B
Text

$NetBSD: patch-af,v 1.1 2002/06/14 20:04:08 abs Exp $
--- mserv/defines.h.orig Thu Jul 13 21:35:18 2000
+++ mserv/defines.h
@@ -16,6 +16,10 @@
#define PATH_LANGUAGE SHAREDIR "/english.lang"
*/
+#ifndef PATH_MPG123
+#define PATH_MPG123 BINDIR "/mpg123"
+#endif
+
/* maximum amount to queue in each output buffer */
#define OUTBUFLEN 32*1024
@@ -57,7 +61,7 @@
#define MISCINFOLEN 128
/* maximum number of tracks in each album */
-#define TRACKSPERALBUM 200
+#define TRACKSPERALBUM 250
/* maximum language line length */
#define LANGLINELEN 1024