[packages/smtptools] Add -am.patch to fix build with new automake

megabajt megabajt at pld-linux.org
Wed Jan 30 13:37:37 CET 2013


commit e4e9fbd4700757ac4f57c7a8898c251543d24af4
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Wed Jan 30 13:37:06 2013 +0100

    Add -am.patch to fix build with new automake

 smtptools-am.patch | 31 +++++++++++++++++++++++++++++++
 smtptools.spec     |  2 ++
 2 files changed, 33 insertions(+)
---
diff --git a/smtptools.spec b/smtptools.spec
index db7d936..9dbd7ae 100644
--- a/smtptools.spec
+++ b/smtptools.spec
@@ -9,6 +9,7 @@ Source0:	ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
 # Source0-md5:	16dd9da7b1b9c7462f207695ae323034
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-gcc4.patch
+Patch2:		%{name}-am.patch
 URL:		http://www.ohse.de/uwe/software/smtptools.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -26,6 +27,7 @@ wiadomości poprzez SMTP.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
diff --git a/smtptools-am.patch b/smtptools-am.patch
new file mode 100644
index 0000000..ea01d3b
--- /dev/null
+++ b/smtptools-am.patch
@@ -0,0 +1,31 @@
+diff -urN smtptools-0.2.3/configure.in smtptools-0.2.3.new/configure.in
+--- smtptools-0.2.3/configure.in	1999-01-20 18:49:48.000000000 +0100
++++ smtptools-0.2.3.new/configure.in	2013-01-30 13:31:47.528274150 +0100
+@@ -1,6 +1,6 @@
+ AC_INIT(smtpblast.c)
+ AM_INIT_AUTOMAKE(smtptools, 0.2.3)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ 
+ if test "x$CFLAGS" = x ; then
+ 	if test "x$CC" = "xlcc" ; then 
+@@ -48,7 +48,6 @@
+ 	if test "x$GNU_MAKE" = "xno" ; then
+ 		AC_MSG_WARN([dependencies disabled])
+ 	fi
+-AM_C_PROTOTYPES
+ 
+ dnl Checks for libraries.
+ if test "x$WANT_EFENCE" = x ; then : ;  else
+diff -urN smtptools-0.2.3/Makefile.am smtptools-0.2.3.new/Makefile.am
+--- smtptools-0.2.3/Makefile.am	1999-01-20 18:47:56.000000000 +0100
++++ smtptools-0.2.3.new/Makefile.am	2013-01-30 13:31:54.611569109 +0100
+@@ -1,7 +1,7 @@
+ #noinst_SCRIPTS=systype
+ PACKAGE_VERSION=@PACKAGE at -@VERSION@
+ # i can do that better ...
+-AUTOMAKE_OPTIONS=no-dependencies ansi2knr readme-alpha 1.3 gnu
++AUTOMAKE_OPTIONS=no-dependencies readme-alpha 1.3 gnu
+ man_MANS=smtpblast.1 usmtpd.1 tomaildir.1 maildirblast.1 rewriteheader.1
+ EXTRA_DIST= attribs.h crc32ansi.h dirsysdep.h dns.h dynhash.h \
+ 	dns_int.h filelock.h \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/smtptools.git/commitdiff/e4e9fbd4700757ac4f57c7a8898c251543d24af4



More information about the pld-cvs-commit mailing list