Control: tags 978389 + patch
Control: tags 978389 + pending

Dear maintainer,

I've prepared an NMU for easyh10 (versioned as 1.5-4.1) and uploaded
it to DELAYED/14. Please feel free to tell me if I should cancel it.

cu
Adrian
diff -Nru easyh10-1.5/debian/changelog easyh10-1.5/debian/changelog
--- easyh10-1.5/debian/changelog	2016-10-09 23:43:46.000000000 +0300
+++ easyh10-1.5/debian/changelog	2021-01-25 01:08:02.000000000 +0200
@@ -1,3 +1,10 @@
+easyh10 (1.5-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove usage of obsolete AM_LANGINFO_CODESET. (Closes: #978389)
+
+ -- Adrian Bunk <b...@debian.org>  Mon, 25 Jan 2021 01:08:02 +0200
+
 easyh10 (1.5-4) unstable; urgency=medium
 
   * Fix the 40-fix-FTBFS-Hurd.patch.
diff -Nru easyh10-1.5/debian/patches/50-no-am-langinfo-codeset.patch easyh10-1.5/debian/patches/50-no-am-langinfo-codeset.patch
--- easyh10-1.5/debian/patches/50-no-am-langinfo-codeset.patch	1970-01-01 02:00:00.000000000 +0200
+++ easyh10-1.5/debian/patches/50-no-am-langinfo-codeset.patch	2021-01-25 01:08:02.000000000 +0200
@@ -0,0 +1,38 @@
+Description: Remove usage of obsolete AM_LANGINFO_CODESET
+Author: Adrian Bunk <b...@debian.org>
+Bug-Debian: https://bugs.debian.org/978389
+
+--- easyh10-1.5.orig/configure.in
++++ easyh10-1.5/configure.in
+@@ -181,7 +181,6 @@ case $with_libiconv in
+     AC_DEFINE(USE_LIBICONV_NATIVE, 1, [Using a native implementation of iconv in a separate library])
+     ;;
+ esac
+-AM_LANGINFO_CODESET
+ 
+ 
+ dnl Checks for id3tag
+--- easyh10-1.5.orig/cui/main.c
++++ easyh10-1.5/cui/main.c
+@@ -41,9 +41,7 @@
+ #include <filepathutil.h>
+ #include <easyh10.h>
+ 
+-#ifdef HAVE_LANGINFO_CODESET
+ #include <langinfo.h>
+-#endif
+ 
+ #ifdef	HAVE_GETOPT_H
+ #include <getopt.h>
+@@ -889,11 +887,9 @@ int main(int argc, char *argv[])
+ 	if (!encoding_specified) {
+ 		const char *encoding = getenv("CHARSET");
+ 
+-#ifdef	HAVE_LANGINFO_CODESET
+ 		if (!encoding) {
+ 			encoding = nl_langinfo(CODESET);
+ 		}
+-#endif/*HAVE_LANGINFO_CODESET*/
+ 
+ 		if (encoding) {
+ 			/* EasyH10 could detect the character encoding. */
diff -Nru easyh10-1.5/debian/patches/series easyh10-1.5/debian/patches/series
--- easyh10-1.5/debian/patches/series	2016-10-09 23:43:46.000000000 +0300
+++ easyh10-1.5/debian/patches/series	2021-01-25 01:08:02.000000000 +0200
@@ -2,3 +2,4 @@
 20-dont-install-docs.patch
 30-fix-spelling.patch
 40-fix-FTBFS-Hurd.patch
+50-no-am-langinfo-codeset.patch

Reply via email to