#306989 mpg321: does not work in a UTF-8 locale

Package:
mpg321
Source:
mpg321
Description:
Simple and lightweight command line MP3 player
Submitter:
Edmund GRIMLEY EVANS
Date:
2024-11-06 08:48:02 UTC
Severity:
normal
Tags:
#306989#5
Date:
2005-04-29 21:22:16 UTC
From:
To:
mpg321 only works correctly in an ISO-8859-1 locale.
I've done a patch to make it work in UTF-8 locales, too.
You have to run aclocal, etc, because there are some new
configuration thingies.

diff -ru mpg321-0.2.10.1.orig/Makefile.am mpg321-0.2.10.1/Makefile.am
--- mpg321-0.2.10.1.orig/Makefile.am	2001-10-13 18:28:25.000000000 +0100
+++ mpg321-0.2.10.1/Makefile.am	2005-04-29 20:31:09.000000000 +0100
@@ -11,7 +11,8 @@
 	getopt.h \
 	remote.c \
 	ao.c \
-	options.c
+	options.c \
+	ucs4width.c

 SUBDIRS = m4
 EXTRA_DIST = README.remote HACKING BUGS mpg321.sgml mpg321.1 $(srcdir)/debian/*
diff -ru mpg321-0.2.10.1.orig/configure.ac mpg321-0.2.10.1/configure.ac
--- mpg321-0.2.10.1.orig/configure.ac	2002-03-24 05:02:28.000000000 +0000
+++ mpg321-0.2.10.1/configure.ac	2005-04-29 21:47:33.000000000 +0100
@@ -44,7 +44,7 @@

 dnl Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h)
+AC_CHECK_HEADERS(fcntl.h locale.h sys/ioctl.h sys/time.h unistd.h)
 AC_HEADER_TIME

 # Checks for typedefs, structures, and compiler characteristics.
@@ -67,7 +67,7 @@

 AC_TYPE_SOCKLEN_T

#306989#10
Date:
2024-11-06 08:44:38 UTC
From:
To: