From 1ecfca23f629560e6cd57dedb69dc639d5fed1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 16 Aug 2021 23:30:26 +0200 Subject: New d/p/0010-AC_INIT.patch to fix AC_INIT handling --- debian/changelog | 7 +++++++ debian/patches/0010-AC_INIT.patch | 30 ++++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 38 insertions(+) create mode 100644 debian/patches/0010-AC_INIT.patch (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 4f60766a..2731ab5f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libunistring (0.9.10-6) UNRELEASED; urgency=medium + + * New debian/patches/0010-AC_INIT.patch to fix AC_INIT handling + (Closes: #992281). + + -- Jörg Frings-Fürst Mon, 16 Aug 2021 21:22:05 +0200 + libunistring (0.9.10-5) experimental; urgency=medium * New debian/patches/0005-fix_build_musl.patch (Closes: #987609): diff --git a/debian/patches/0010-AC_INIT.patch b/debian/patches/0010-AC_INIT.patch new file mode 100644 index 00000000..d967829e --- /dev/null +++ b/debian/patches/0010-AC_INIT.patch @@ -0,0 +1,30 @@ +Description: Fix AC_INIT handling +Author: Jörg Frings-Fürst +Bug: +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992281 +Forwarded: yes +Last-Update: 2021-08-16 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/configure.ac +=================================================================== +--- trunk.orig/configure.ac ++++ trunk/configure.ac +@@ -16,12 +16,14 @@ dnl along with this program. If not, se + + dnl Process this file with autoconf to produce a configure script. + ++ ++ + AC_PREREQ([2.63]) +-AC_INIT ++. $srcdir/version.sh ++AC_INIT([libunistring],[m4_esyscmd_s([$VERSION_NUMBER])]) + AC_CONFIG_SRCDIR([lib/unistring/version.in.h]) + AC_CONFIG_AUX_DIR([build-aux]) +-. $srcdir/version.sh +-gl_INIT_PACKAGE([libunistring], [$VERSION_NUMBER]) ++dnl AM_INIT_AUTOMAKE + AM_INIT_AUTOMAKE([silent-rules dist-xz]) + AM_CONFIG_HEADER([config.h]) + diff --git a/debian/patches/series b/debian/patches/series index 746190bd..d6c7caac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 0100-float-endian-detection.patch 0700-multiarch-libc.patch 0705-gcc-9.patch +0010-AC_INIT.patch -- cgit v1.2.3