add patch 1002 to adjust whitespace as required for recent autotools

This commit is contained in:
Jonas Smedegaard 2021-10-01 10:13:50 +02:00
parent 4e50cab599
commit 0139dc3440
2 changed files with 32 additions and 0 deletions

31
debian/patches/1002_intltool.patch vendored Normal file
View File

@ -0,0 +1,31 @@
Description: adjust whitespace as required for recent autotools
Recent releases of autotools (possibly only autoreconf
apparently only recognizes the macro IT_PROG_INTLTOOL
when listed as the first word on a line.
Otherwise autoreconf fails with the following error message:
.
autoreconf: running: intltoolize --copy --force
ERROR: 'IT_PROG_INTLTOOL' must appear in configure.ac for intltool to work.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2021-10-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure.ac
+++ b/configure.ac
@@ -587,11 +587,11 @@
AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [Location of D-Bus services directory])
if test "$enable_gui" != "no" || test "$enable_dbus_service" != "no"; then
- IT_PROG_INTLTOOL([0.37.1])
- GETTEXT_PACKAGE=syncevolution
- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package name])
- AM_GLIB_GNU_GETTEXT
- SYNCEVOLUTION_LOCALEDIR=[${datadir}/locale]
+IT_PROG_INTLTOOL([0.37.1])
+GETTEXT_PACKAGE=syncevolution
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package name])
+AM_GLIB_GNU_GETTEXT
+SYNCEVOLUTION_LOCALEDIR=[${datadir}/locale]
fi
# decide which sync-ui(s) we are building:

View File

@ -1 +1,2 @@
1001_SOCK_CLOEXEC.patch
1002_intltool.patch