summaryrefslogtreecommitdiffstats
path: root/package/elfutils/0002-disable-progs.patch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-06-17 15:48:29 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-18 14:59:39 +0200
commit794ae61a15f7a36e199b62b2e5224cfc41bdabea (patch)
tree992af3cb07841270d4da6f30390d3f236d4bab76 /package/elfutils/0002-disable-progs.patch
parenta97dc46d7e7fcdf83020371d4ae3fe8d886d8aee (diff)
downloadbuildroot-794ae61a15f7a36e199b62b2e5224cfc41bdabea.tar.gz
buildroot-794ae61a15f7a36e199b62b2e5224cfc41bdabea.zip
elfutils: bump version to 0.166
- Remove 0001-argp-support.patch since it's already included upstream: https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=1ab3c2befeedf5bd891cfbe17cfef79c06e5079a - Tweak patches for this new version: - 0002-disable-progs.patch - 0003-fts.patch - 0004-disable-po.patch - 0005-really-make-werror-conditional-to-build-werror.patch - Remove 0007-Allow-disabling-symbol-versioning-at-configure-t since it's already included upstream: https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=bafacacaf7659a4933604662daba26a480b29a8d - Remove portability patch since it's no longer needed. I have asked Mark Wielaard regarding this topic given the portability patch looks been discontinued since 0.163 and he replied the following: - "I believe it is no longer needed. At least not on any platform I am actively maintaining. See also this discussion from last year: https://lists.fedorahosted.org/pipermail/elfutils-devel/2015-May/004825.html" - Add zlib dependency since it's now mandatory: configure: error: zlib not found but is required Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/elfutils/0002-disable-progs.patch')
-rw-r--r--package/elfutils/0002-disable-progs.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/package/elfutils/0002-disable-progs.patch b/package/elfutils/0002-disable-progs.patch
index 3e37bb82ef..ea6b934dfc 100644
--- a/package/elfutils/0002-disable-progs.patch
+++ b/package/elfutils/0002-disable-progs.patch
@@ -9,15 +9,17 @@ obstack_printf() in uClibc for example).
Based on the former patch by Thomas Petazzoni.
+[Vincent: tweak patch for 0.166]
+
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
diff -rup a/configure.ac b/configure.ac
---- a/configure.ac 2015-01-06 11:31:10.122219826 +0000
-+++ b/configure.ac 2015-01-06 11:37:38.397891424 +0000
-@@ -260,6 +260,12 @@ if test "$ac_cv_func_argp_parse" != yes;
- fi
- AC_SUBST(ARGP_LIBS)
+--- a/configure.ac 2016-03-31 09:48:08.000000000 +0100
++++ b/configure.ac 2016-06-17 14:47:03.561704498 +0100
+@@ -253,6 +253,12 @@ AC_SUBST([LIBEBL_SUBDIR])
+ AC_DEFINE_UNQUOTED(LIBEBL_SUBDIR, "$LIBEBL_SUBDIR")
+ AH_TEMPLATE([LIBEBL_SUBDIR], [$libdir subdirectory containing libebl modules.])
+AC_ARG_ENABLE([progs],
+ AS_HELP_STRING([--enable-progs], [enable progs]),
@@ -25,13 +27,13 @@ diff -rup a/configure.ac b/configure.ac
+ enable_progs=yes)
+AM_CONDITIONAL(ENABLE_PROGS, test "$enable_progs" = yes)
+
- dnl Test for zlib and bzlib, gives ZLIB/BZLIB .am
- dnl conditional and config.h USE_ZLIB/USE_BZLIB #define.
+ dnl zlib is mandatory.
save_LIBS="$LIBS"
+ LIBS=
diff -rup a/Makefile.am b/Makefile.am
---- a/Makefile.am 2014-06-17 19:51:09.000000000 +0100
-+++ b/Makefile.am 2015-01-06 11:38:42.846999410 +0000
-@@ -22,9 +22,13 @@ ACLOCAL_AMFLAGS = -I m4
+--- a/Makefile.am 2016-01-12 12:49:19.000000000 +0000
++++ b/Makefile.am 2016-06-17 14:48:02.585861468 +0100
+@@ -26,9 +26,13 @@ AM_MAKEFLAGS = --no-print-directory
pkginclude_HEADERS = version.h
OpenPOWER on IntegriCloud