[packages/libevent] - added am patch (fixes build with automake 1.13)
qboosh
qboosh at pld-linux.org
Tue Feb 12 16:36:35 CET 2013
commit 17186babd4101b1d0f2a97c3549f3b71f998210e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Feb 12 16:36:30 2013 +0100
- added am patch (fixes build with automake 1.13)
libevent-am.patch | 22 ++++++++++++++++++++++
libevent.spec | 2 ++
2 files changed, 24 insertions(+)
---
diff --git a/libevent.spec b/libevent.spec
index 3e6cd0c..05d582c 100644
--- a/libevent.spec
+++ b/libevent.spec
@@ -14,6 +14,7 @@ Source0: https://github.com/downloads/libevent/libevent/%{name}-%{version}-stabl
# Source0-md5: b2405cc9ebf264aa47ff615d9de527a2
Patch0: %{name}-fpm.patch
Patch1: %{name}-link.patch
+Patch2: %{name}-am.patch
URL: http://libevent.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
@@ -65,6 +66,7 @@ Statyczna biblioteka libevent.
%setup -q -n %{name}-%{version}-stable
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}
diff --git a/libevent-am.patch b/libevent-am.patch
new file mode 100644
index 0000000..d6d946a
--- /dev/null
+++ b/libevent-am.patch
@@ -0,0 +1,22 @@
+--- libevent-2.0.21-stable/configure.in.orig 2012-11-18 07:34:13.000000000 +0100
++++ libevent-2.0.21-stable/configure.in 2013-02-12 16:13:21.323122429 +0100
+@@ -12,7 +12,7 @@
+ AC_CONFIG_MACRO_DIR([m4])
+
+ AM_INIT_AUTOMAKE(libevent,2.0.21-stable)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AC_DEFINE(NUMERIC_VERSION, 0x02001500, [Numeric representation of the version])
+
+ dnl Initialize prefix.
+--- libevent-2.0.21-stable/test/Makefile.am.orig 2012-05-31 06:08:19.000000000 +0200
++++ libevent-2.0.21-stable/test/Makefile.am 2013-02-12 16:28:56.406416519 +0100
+@@ -19,7 +19,7 @@
+ EXTRA_PROGRAMS = regress
+ noinst_HEADERS = tinytest.h tinytest_macros.h regress.h tinytest_local.h
+
+-TESTS = $(top_srcdir)/test/test.sh
++TESTS = test.sh
+
+ BUILT_SOURCES =
+ if BUILD_REGRESS
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libevent.git/commitdiff/17186babd4101b1d0f2a97c3549f3b71f998210e
More information about the pld-cvs-commit
mailing list