Control: tags 997136 + patch
Control: tags 997136 + pending

Dear maintainer,

I've prepared an NMU for asterisk (versioned as 1:16.16.1~dfsg-2.1). The diff
is attached to this message.

I require a sponsor to have it uploaded.

This is particularly urgent as unixodbc is about to enter a transition and
asterisk (which build-depends on unixodbc-dev) will need to be rebuilt.

Please let me know as soon as possible whether you will make the upload or
whether I should seek a sponsor via the Debian Mentors process.

Thank you,

Hugh
diff -Nru asterisk-16.16.1~dfsg/debian/changelog asterisk-16.16.1~dfsg/debian/changelog
--- asterisk-16.16.1~dfsg/debian/changelog	2021-08-06 23:35:20.000000000 +1000
+++ asterisk-16.16.1~dfsg/debian/changelog	2021-11-01 13:19:25.000000000 +1100
@@ -1,3 +1,12 @@
+asterisk (1:16.16.1~dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Cherry-pick an upstream patch to remove the AC_HEADER_STDC macro from
+    configure.ac. The macro is obsolete and a no-op with autoconf 2.70
+    (Closes: #997136).
+
+ -- Hugh McMaster <[email protected]>  Mon, 01 Nov 2021 13:19:25 +1100
+
 asterisk (1:16.16.1~dfsg-2) unstable; urgency=high
 
   * CVE-2021-32558 / AST-2021-008 (Closes: #991710)
diff -Nru asterisk-16.16.1~dfsg/debian/patches/configure_ac-stdc.patch asterisk-16.16.1~dfsg/debian/patches/configure_ac-stdc.patch
--- asterisk-16.16.1~dfsg/debian/patches/configure_ac-stdc.patch	1970-01-01 10:00:00.000000000 +1000
+++ asterisk-16.16.1~dfsg/debian/patches/configure_ac-stdc.patch	2021-11-01 13:12:25.000000000 +1100
@@ -0,0 +1,23 @@
+Description: Fix configure failure with autoconf 2.70
+ Cherry-pick an upstream patch from Asterisk 16.17.0-rc1 to remove the
+ AC_HEADER_STDC macro from configure.ac. The macro is obsolete and a no-op
+ in autoconf 2.70.
+Author: Jaco Kroon <[email protected]>
+Origin: upstream, https://code.asterisk.org/code/changelog/asterisk?cs=aa03d07a085d32dbc6b482aaa5215f539f60d771
+Bug-Debian: https://bugs.debian.org/997136
+Last-Update: 2021-11-01
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -617,11 +617,6 @@
+   AC_MSG_ERROR([*** Could not find dirent header that defines 'DIR'.])
+ fi
+ 
+-AC_HEADER_STDC
+-if test "$ac_cv_header_stdc" != "yes"; then
+-  AC_MSG_ERROR([*** ANSI C header files not found.])
+-fi
+-
+ AC_HEADER_SYS_WAIT
+ if test "$ac_cv_header_sys_wait_h" != "yes"; then
+   AC_MSG_ERROR([*** POSIX.1 compatible sys/wait.h is required.])
diff -Nru asterisk-16.16.1~dfsg/debian/patches/series asterisk-16.16.1~dfsg/debian/patches/series
--- asterisk-16.16.1~dfsg/debian/patches/series	2021-08-06 23:35:20.000000000 +1000
+++ asterisk-16.16.1~dfsg/debian/patches/series	2021-11-01 11:41:48.000000000 +1100
@@ -35,3 +35,4 @@
 
 AST-2021-008-16.diff
 AST-2021-009-16.diff
+configure_ac-stdc.patch

Reply via email to