From 36c78462293dabfac28faf85bab70ddd236b95b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 3 Oct 2016 13:11:49 +0200 Subject: FTBFS autoconf --- debian/patches/0005-m4.patch | 34 ++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 35 insertions(+) create mode 100644 debian/patches/0005-m4.patch (limited to 'debian/patches') diff --git a/debian/patches/0005-m4.patch b/debian/patches/0005-m4.patch new file mode 100644 index 0000000..8275718 --- /dev/null +++ b/debian/patches/0005-m4.patch @@ -0,0 +1,34 @@ +Description: add missing m4 tags +Author: Jörg Frings-Fürst +Last-Update: 2016-10-03 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/configure.in +=================================================================== +--- trunk.orig/configure.in ++++ trunk/configure.in +@@ -1,6 +1,7 @@ + dnl Process this file with autoconf to produce a configure script. -*-sh-*- + AC_INIT(include/config.h.in) + AC_CONFIG_HEADER(include/config.h) ++AC_CONFIG_MACRO_DIRS([m4]) + # AC_PREREQ(2.10)dnl dnl Minimum Autoconf version required. + # AC_ARG_PROGRAM + +@@ -21,12 +22,15 @@ XSANE_PACKAGE_VERSION="$PACKAGE-$VERSION + AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define to the name of the distribution]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define to the version of the distribution]) + AC_DEFINE_UNQUOTED(XSANE_PACKAGE_VERSION, "$XSANE_PACKAGE_VERSION", [Define to name and version of distribution]) ++AC_DEFINE([ENABLE_NLS], [], [Description]) ++AC_DEFINE([HAVE_CATGETS], [], [Description]) ++AC_DEFINE([HAVE_GETTEXT], [], [Description]) ++AC_DEFINE([HAVE_LC_MESSAGES], [], [Description]) + AC_SUBST(PACKAGE) + AC_SUBST(VERSION) + AC_SUBST(XSANE_PACKAGE_VERSION) + AC_SUBST(SANE_MAJOR) + +- + dnl Check args + + echo "" diff --git a/debian/patches/series b/debian/patches/series index 8877516..a90b67e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -20,3 +20,4 @@ 0115-deb_non_working_help_menu.patch 0165-xsane-0.999-lcms2.patch 0001-lcms2_configure.patch +0005-m4.patch -- cgit v1.2.3