diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2014-10-19 19:21:01 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-26 16:57:27 +0100 |
commit | cfb4d2451ba0feac9e5e050319e542e128b3aec9 (patch) | |
tree | 58561e0bb8148901e853c0139223c9fe04c639da /package/libevent/libevent-disable-building-test-programs.patch | |
parent | a732c545246d4066d8eb389ac17c6983c0b4e20e (diff) | |
download | buildroot-cfb4d2451ba0feac9e5e050319e542e128b3aec9.tar.gz buildroot-cfb4d2451ba0feac9e5e050319e542e128b3aec9.zip |
libevent: Use github call & fix patch
We want to use the github helper since there is not a specific releases
tarball that we can download, as specified in the manual.
This tarball is generated from the tag, which doesn't contains the
autotools generated files, we then need to use AUTORECONF.
We want to use the github helper anyway as the current URL use an old
GitHub feature which was called 'Download' where you could upload files
along your repositories, theses files were not related to your tags.
This features has been replaced with the 'Release' option where you can
create a release from a git tag. But these tarball are generated from
the sources and they don't contains all the generated autotools file.
Since the old URL scheme can be deprecated at any time, we want to
switch to the new URL scheme, which in the case of libevent, implies
having to do an AUTORECONF.
The patch that was already present is updated to apply against
Makefile.am instead of Makefile.in
The second patch is backported from upstream to remove the use of
$(top_src_dirs) which makes current autotools error out.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libevent/libevent-disable-building-test-programs.patch')
-rw-r--r-- | package/libevent/libevent-disable-building-test-programs.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/libevent/libevent-disable-building-test-programs.patch b/package/libevent/libevent-disable-building-test-programs.patch deleted file mode 100644 index 4b0f0d9b08..0000000000 --- a/package/libevent/libevent-disable-building-test-programs.patch +++ /dev/null @@ -1,30 +0,0 @@ -From e932c8864e1bb8b6a7901d4b049a1100c4becba5 Mon Sep 17 00:00:00 2001 -From: Gilles Talis <gilles.talis@gmail.com> -Date: Fri, 21 Jun 2013 15:25:11 -0700 -Subject: [PATCH] Disable building test programs - -We are not really interested in building test programs. -Moreover, these programs use fork() function that is -not available on MMU-less architectures. - -Signed-off-by: Gilles Talis <gilles.talis@gmail.com> ---- - Makefile.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 2ebefa2..4fba1ff 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -487,7 +487,7 @@ LIBEVENT_LIBS_LA = libevent.la libevent_core.la libevent_extra.la \ - @INSTALL_LIBEVENT_TRUE@lib_LTLIBRARIES = $(LIBEVENT_LIBS_LA) - @INSTALL_LIBEVENT_TRUE@pkgconfig_DATA = $(LIBEVENT_PKGCONFIG) - @INSTALL_LIBEVENT_FALSE@noinst_LTLIBRARIES = $(LIBEVENT_LIBS_LA) --SUBDIRS = . include sample test -+SUBDIRS = . include sample - @BUILD_WIN32_FALSE@SYS_LIBS = - @BUILD_WIN32_TRUE@SYS_LIBS = -lws2_32 -lshell32 -ladvapi32 - @BUILD_WIN32_FALSE@SYS_SRC = $(am__append_5) $(am__append_6) \ --- -1.7.4.1 - |