summaryrefslogtreecommitdiff
path: root/debian/patches/0005-m4.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-03 13:11:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-03 13:11:49 +0200
commit36c78462293dabfac28faf85bab70ddd236b95b9 (patch)
tree187c7c8f3f6344d719b55c0542eccecca62343c0 /debian/patches/0005-m4.patch
parent999880d91d136466892319aa6a0ea01fac6eedba (diff)
FTBFS autoconf
Diffstat (limited to 'debian/patches/0005-m4.patch')
-rw-r--r--debian/patches/0005-m4.patch34
1 files changed, 34 insertions, 0 deletions
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 <debian@jff-webhosting.net>
+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 ""