]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
elfutils: Update to 0.188
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Dec 2022 09:28:09 +0000 (09:28 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Dec 2022 09:28:09 +0000 (09:28 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
elfutils/elfutils.nm
elfutils/patches/elfutils-0.166-elfcmp-comp-gcc6.patch [deleted file]

index 6e3c32df9b181e604408fa048002cce8edca7d63..43cd9722019d95c57fa70435d1304f45c0a35281 100644 (file)
@@ -4,12 +4,11 @@
 ###############################################################################
 
 name       = elfutils
-version    = 0.166
+version    = 0.188
 release    = 1
 
-maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = Development/Libraries
-url        = https://fedorahosted.org/elfutils/
+url        = https://sourceware.org/elfutils/
 license    = GPLv2 with exceptions
 summary    = A collection of utilities and DSOs to handle compiled objects.
 
@@ -21,21 +20,25 @@ description
        (to check for well-formed ELF files).
 end
 
-source_dl  = https://fedorahosted.org/releases/e/l/elfutils/%{version}/
+source_dl  = https://sourceware.org/elfutils/ftp/%{version}/
 sources    = %{thisapp}.tar.bz2
 
 build
        requires
                bzip2-devel
+               curl-devel
                m4
                xz-devel
                zlib-devel
+               zstd-devel
        end
 
-       # fails
-       #test
-       #       make check
-       #end
+       configure_options += \
+               --disable-debuginfod
+
+       test
+               make check
+       end
 end
 
 packages
diff --git a/elfutils/patches/elfutils-0.166-elfcmp-comp-gcc6.patch b/elfutils/patches/elfutils-0.166-elfcmp-comp-gcc6.patch
deleted file mode 100644 (file)
index 2183b35..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-From 836a16fe5b5bab4a3afe2c991c104652775ce3a3 Mon Sep 17 00:00:00 2001
-From: David Abdurachmanov <davidlt@cern.ch>
-Date: Mon, 11 Apr 2016 16:00:57 +0200
-Subject: [PATCH] elfcmp: fix self-comparison error with GCC 6
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Noticed with Fedora 24 Alpha, gcc (GCC) 6.0.0 20160406
-(Red Hat 6.0.0-0.20).
-
-elfcmp.c: In function ‘main’:
-elfcmp.c:364:199: error: self-comparison always evaluates
-to false [-Werror=tautological-compare]
-        if (unlikely (name1 == NULL || name2 == NULL
-
-Signed-off-by: David Abdurachmanov <davidlt@cern.ch>
----
- src/ChangeLog | 4 ++++
- src/elfcmp.c  | 2 +-
- 2 files changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/ChangeLog b/src/ChangeLog
-index f74b5dc..bdc9d13 100644
---- a/src/ChangeLog
-+++ b/src/ChangeLog
-@@ -1,3 +1,7 @@
-+2016-04-11  David Abdurachmanov  <davidlt@cern.ch>
-+
-+      * elfcmp.c (main): Fix self-comparison error with GCC 6.
-+
- 2016-03-21  Mark Wielaard  <mjw@redhat.com>
-       * nm.c (show_symbols): Check for malloc size argument overflow.
-diff --git a/src/elfcmp.c b/src/elfcmp.c
-index 852b92f..7b5d39c 100644
---- a/src/elfcmp.c
-+++ b/src/elfcmp.c
-@@ -368,7 +368,7 @@ main (int argc, char *argv[])
-                               && sym1->st_shndx != SHN_UNDEF)
-                           || sym1->st_info != sym2->st_info
-                           || sym1->st_other != sym2->st_other
--                          || sym1->st_shndx != sym1->st_shndx))
-+                          || sym1->st_shndx != sym2->st_shndx))
-               {
-                 // XXX Do we want to allow reordered symbol tables?
-               symtab_mismatch:
--- 
-1.8.3.1
-