--- a/debian/patches/20_use_debian_version_in_manpage_over_current_date.patch 1970-01-01 02:00:00.000000000 +0200 --- b/debian/patches/20_use_debian_version_in_manpage_over_current_date.patch 2015-12-06 11:33:20.278261513 +0200 @@ -0,0 +1,11 @@ +--- monit-5.15.orig/configure.ac ++++ monit-5.15/configure.ac +@@ -43,7 +43,7 @@ if test "x$POD2MAN" = "xno"; then + AC_MSG_ERROR([pod2man is required to build the monit.1 man file.]) + fi + else +- d=`date '+%B %d. %Y'` ++ d=debian/`dpkg-parsechangelog --show-field Version` + POD2MANFLAGS="--center 'User Commands' --release '${d}' --date='www.mmonit.com' --lax" + AC_SUBST([POD2MANFLAGS]) + fi --- a/debian/patches/series 2015-12-06 11:25:08.379215842 +0200 --- b/debian/patches/series 2015-12-06 11:33:15.358160074 +0200 @@ -2,3 +2,4 @@ 05_monitrc.patch 11_enable_hurd.patch 12_FTBFS_on_kfreebsd.patch +20_use_debian_version_in_manpage_over_current_date.patch