Control: tags 1066575 + patch
Control: tags 1066575 + pending

Dear maintainer,

I've prepared an NMU for kakasi (versioned as 2.3.6-4.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
diff -Nru kakasi-2.3.6/debian/changelog kakasi-2.3.6/debian/changelog
--- kakasi-2.3.6/debian/changelog	2021-01-03 12:25:42.000000000 +0100
+++ kakasi-2.3.6/debian/changelog	2024-05-26 18:34:15.000000000 +0200
@@ -1,3 +1,12 @@
+kakasi (2.3.6-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: configure: error: can not use EUC-JP or UTF-8 encoding
+    on iconv": add patch kakasi-configure-c99.patch from Fedora.
+    (Closes: #1066575)
+
+ -- gregor herrmann <gre...@debian.org>  Sun, 26 May 2024 18:34:15 +0200
+
 kakasi (2.3.6-4.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru kakasi-2.3.6/debian/patches/kakasi-configure-c99.patch kakasi-2.3.6/debian/patches/kakasi-configure-c99.patch
--- kakasi-2.3.6/debian/patches/kakasi-configure-c99.patch	1970-01-01 01:00:00.000000000 +0100
+++ kakasi-2.3.6/debian/patches/kakasi-configure-c99.patch	2024-05-26 18:34:08.000000000 +0200
@@ -0,0 +1,20 @@
+Origin: https://src.fedoraproject.org/rpms/kakasi/blob/rawhide/f/kakasi-configure-c99.patch
+Bug-Debian: https://bugs.debian.org/1066575
+
+Avoid an implicit declaration of exit and build failures with future
+compilers which do not support implicit function declarations by
+default.
+
+diff --git a/configure.in b/configure.in
+index e865b04ffd027f3c..4a15beffd0e252a4 100644
+--- a/configure.in
++++ b/configure.in
+@@ -85,7 +85,7 @@ AS_VAR_IF(utf8, "yes",[
+     LIBS="$LIBICONV $LIBS"
+     AC_DEFINE(KAKASI_SUPPORT_UTF8, 1, [KAKASI_SUPPORT_UTF8])
+     AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <iconv.h>],
+-		    [if (iconv_open("EUC-JP", "UTF-8") == -1) exit(1);])],
++		    [if (iconv_open("EUC-JP", "UTF-8") == -1) return 1;])],
+ 	[],
+ 	[AC_MSG_ERROR([can not use EUC-JP or UTF-8 encoding on iconv])])
+ ])
diff -Nru kakasi-2.3.6/debian/patches/series kakasi-2.3.6/debian/patches/series
--- kakasi-2.3.6/debian/patches/series	2018-12-02 10:10:55.000000000 +0100
+++ kakasi-2.3.6/debian/patches/series	2024-05-26 18:30:47.000000000 +0200
@@ -1,2 +1,3 @@
 0003-prefix.patch
 0004-multiarch.patch
+kakasi-configure-c99.patch

Attachment: signature.asc
Description: Digital Signature

Reply via email to