From 7ce79f61b02ca3dc4ead62465486fa8efe912711 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 23 Aug 2020 14:16:36 -0700 Subject: [PATCH] Allow debhelper to call autoreconf Add dependency on autoconf-archive Remove useless AC_PIKE_COMPILER_FLAG tests --- debian/control | 2 +- debian/patches/series | 1 + debian/patches/update_for_new_autoconf | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 debian/patches/update_for_new_autoconf diff --git a/debian/control b/debian/control index 85e086e..ee92979 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: spamass-milter Section: mail Priority: optional Standards-Version: 4.2.0 -Build-Depends: libmilter-dev, debhelper (>= 12), groff-base, autotools-dev +Build-Depends: libmilter-dev, debhelper (>= 12), groff-base, autoconf-archive Maintainer: Don Armstrong Vcs-Git: https://git.donarmstrong.com/deb_pkgs/spamass-milter.git Vcs-Browser: https://git.donarmstrong.com/deb_pkgs/spamass-milter.git diff --git a/debian/patches/series b/debian/patches/series index 0c34f8e..3987373 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ ignore_by_smtp_auth fix_spacing_in_received_header auth_in_received queueid_in_envrcpt +update_for_new_autoconf diff --git a/debian/patches/update_for_new_autoconf b/debian/patches/update_for_new_autoconf new file mode 100644 index 0000000..7bab81c --- /dev/null +++ b/debian/patches/update_for_new_autoconf @@ -0,0 +1,18 @@ +--- a/configure.in ++++ b/configure.in +@@ -18,12 +18,12 @@ + AC_LANG(C++) + + # Enable useable exception handler if it exists. +-AC_CXX_VERBOSE_TERMINATE_HANDLER ++# AC_CXX_VERBOSE_TERMINATE_HANDLER + + # Try and disable all inlining; gdb shows the inlined function in a + # stack trace and you lose the caller's frame. Bad for debugging. +-AC_PIKE_COMPILER_FLAG(-fno-default-inline,fno_default_inline,CXXFLAGS) +-AC_PIKE_COMPILER_FLAG(-fno-inline,fno_inline,CXXFLAGS) ++# AC_PIKE_COMPILER_FLAG(-fno-default-inline,fno_default_inline,CXXFLAGS) ++# AC_PIKE_COMPILER_FLAG(-fno-inline,fno_inline,CXXFLAGS) + + #PIKE_INCLUDE_PATHS + #PIKE_LIBRARY_PATHS -- 2.39.2