Control: tags -1 patch

-- 
Eric Dorland <e...@kuroneko.ca>
43CF 1228 F726 FD5B 474C  E962 C256 FBD5 0022 1E93
From 4e6c2871454d88ec14f78ca5c3e0b0f49e331e53 Mon Sep 17 00:00:00 2001
From: Eric Dorland <e...@debian.org>
Date: Thu, 10 Aug 2017 12:06:23 -0400
Subject: [PATCH] Switch to modern automake

---
 debian/control                 |  5 +++--
 debian/patches/865157-automake | 13 +++++++++++++
 debian/patches/series          |  1 +
 debian/rules                   |  2 +-
 4 files changed, 18 insertions(+), 3 deletions(-)
 create mode 100644 debian/patches/865157-automake

diff --git a/debian/control b/debian/control
index d2e9a4b..14a0332 100644
--- a/debian/control
+++ b/debian/control
@@ -7,8 +7,9 @@ Build-Depends: debhelper (>= 8.9.4),
  libpaper-dev,
  autotools-dev,
  autoconf,
- automake1.11,
- autopoint
+ automake,
+ autopoint,
+ texinfo
 Build-Conflicts: autoconf2.13, automake1.4
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/git/collab-maint/enscript.git
diff --git a/debian/patches/865157-automake b/debian/patches/865157-automake
new file mode 100644
index 0000000..3d906b0
--- /dev/null
+++ b/debian/patches/865157-automake
@@ -0,0 +1,13 @@
+Index: enscript/configure.ac
+===================================================================
+--- enscript.orig/configure.ac	2017-08-10 12:01:11.267738765 -0400
++++ enscript/configure.ac	2017-08-10 12:01:25.319584336 -0400
+@@ -11,7 +11,7 @@
+ AC_PROG_CC
+ 
+ AC_USE_SYSTEM_EXTENSIONS
+-AM_C_PROTOTYPES
++AC_C_PROTOTYPES
+ 
+ AC_C_CONST
+ AC_FUNC_ALLOCA
diff --git a/debian/patches/series b/debian/patches/series
index 3ed6fc4..3471e84 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
 344750-no-gecos
 147116-ruby-hilight
 457244-octave-highlighting
+865157-automake
diff --git a/debian/rules b/debian/rules
index a6fa59f..719e58e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ override_dh_auto_clean:
 	find -name Makefile.in -exec rm {} \;
 
 override_dh_auto_configure:
-	AUTOMAKE=automake-1.11 ACLOCAL=aclocal-1.11 autoreconf -fis
+	AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf -fis
 	dh_auto_configure
 
 override_dh_auto_install:
-- 
2.13.3

Attachment: signature.asc
Description: PGP signature

Reply via email to