[packages/mcrouter] mute automake warnings
glen
glen at pld-linux.org
Thu Jul 30 14:30:45 CEST 2015
commit 7e0df74fc4fc37f20bf52a16f5c6aae16df09b9c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jul 30 15:30:31 2015 +0300
mute automake warnings
https://github.com/facebook/mcrouter/pull/77
am-subdir-objects.patch | 27 +++++++++++++++++++++++++++
mcrouter.spec | 3 +++
2 files changed, 30 insertions(+)
---
diff --git a/mcrouter.spec b/mcrouter.spec
index 15a2173..4ad48b9 100644
--- a/mcrouter.spec
+++ b/mcrouter.spec
@@ -6,6 +6,7 @@ License: BSD
Group: Daemons
Source0: https://github.com/facebook/mcrouter/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 5cc3e44ee2ff027e8b4077494222610c
+Patch0: am-subdir-objects.patch
URL: https://github.com/facebook/mcrouter
BuildRequires: autoconf >= 2.59
BuildRequires: automake
@@ -15,6 +16,7 @@ BuildRequires: folly-devel >= 0.41.0
BuildRequires: gflags-devel
BuildRequires: glog-devel
BuildRequires: libcap-devel
+BuildRequires: libevent-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: openssl-devel
@@ -32,6 +34,7 @@ infrastructure at Facebook and Instagram where mcrouter handles almost
%prep
%setup -q
+%patch0 -p1
%build
cd mcrouter
diff --git a/am-subdir-objects.patch b/am-subdir-objects.patch
new file mode 100644
index 0000000..f29eb7f
--- /dev/null
+++ b/am-subdir-objects.patch
@@ -0,0 +1,27 @@
+
+mute automake 1.14 warning
+
+Makefile.am:22: warning: source file 'routes/AllAsyncRoute.cpp' is in a subdirectory,
+Makefile.am:22: but option 'subdir-objects' is disabled
+automake: warning: possible forward-incompatibility.
+automake: At least a source file is in a subdirectory, but the 'subdir-objects'
+automake: automake option hasn't been enabled. For now, the corresponding output
+automake: object file(s) will be placed in the top-level directory. However,
+automake: this behaviour will change in future Automake versions: they will
+automake: unconditionally cause object files to be placed in the same subdirectory
+automake: of the corresponding sources.
+automake: You are advised to start using 'subdir-objects' option throughout your
+automake: project, to avoid future incompatibilities.
+
+
+--- mcrouter-0.1.0/mcrouter/configure.ac~ 2015-06-23 05:21:52.000000000 +0300
++++ mcrouter-0.1.0/mcrouter/configure.ac 2015-07-30 15:08:45.851681042 +0300
+@@ -8,7 +8,7 @@
+ AC_CONFIG_LINKS([test/config.py:test/mcrouter_config.py])
+ AC_CONFIG_AUX_DIR([build-aux])
+
+-AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc])
++AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc subdir-objects])
+
+ AC_CONFIG_MACRO_DIR([m4])
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mcrouter.git/commitdiff/7e0df74fc4fc37f20bf52a16f5c6aae16df09b9c
More information about the pld-cvs-commit
mailing list