From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] elfutils: update to 0.186.
Date: Sat, 13 Nov 2021 03:16:18 +0100 [thread overview]
Message-ID: <20211113021618.TR2fUVVgGDEFOnmet1vCNXYAe6xmmSrHXJ4q3SelBMU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34019@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
There is an updated pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages elfuitls
https://github.com/void-linux/void-packages/pull/34019
elfutils: update to 0.186.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/34019.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elfuitls-34019.patch --]
[-- Type: text/x-diff, Size: 2915 bytes --]
From a74e1cad8dfc6e32522f5fd72e81581ef96d3973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 10 Nov 2021 21:16:02 -0300
Subject: [PATCH] elfutils: update to 0.186.
---
...ompilation-on-platforms-without-erro.patch | 35 +++++++++++++++++++
srcpkgs/elfutils/template | 6 ++--
2 files changed, 38 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/elfutils/patches/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
diff --git a/srcpkgs/elfutils/patches/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch b/srcpkgs/elfutils/patches/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
new file mode 100644
index 000000000000..329baac25378
--- /dev/null
+++ b/srcpkgs/elfutils/patches/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
@@ -0,0 +1,35 @@
+From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
+Date: Wed, 10 Nov 2021 21:11:55 -0300
+Subject: [PATCH] debuginfod: fix compilation on platforms without <error.h>
+
+"system.h" only declares the error() function, so it needs to be in an
+'extern "C"' block, otherwise linking fails.
+
+Since we are here, use quotes for "system.h" header, since it's a local
+header, not a system one.
+
+Signed-off-by: Érico Nogueira <erico.erc@gmail.com>
+---
+ debuginfod/debuginfod.cxx | 2 +-
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
+index 521cb529..764e7b94 100644
+--- a/debuginfod/debuginfod.cxx
++++ b/debuginfod/debuginfod.cxx
+@@ -33,11 +33,11 @@
+
+ extern "C" {
+ #include "printversion.h"
++#include "system.h"
+ }
+
+ #include "debuginfod.h"
+ #include <dwarf.h>
+-#include <system.h>
+
+ #include <argp.h>
+ #ifdef __GNUC__
+--
+2.33.1
+
diff --git a/srcpkgs/elfutils/template b/srcpkgs/elfutils/template
index 9b7ab6beb63c..5d37eb20eeb8 100644
--- a/srcpkgs/elfutils/template
+++ b/srcpkgs/elfutils/template
@@ -1,6 +1,6 @@
# Template file for 'elfutils'
pkgname=elfutils
-version=0.185
+version=0.186
revision=1
build_style=gnu-configure
configure_args="--program-prefix=eu-"
@@ -14,12 +14,12 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://sourceware.org/elfutils/"
distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2"
-checksum=dc8d3e74ab209465e7f568e1b3bb9a5a142f8656e2b57d10049a73da2ae6b5a6
+checksum=7f6fb9149b1673d38d9178a0d3e0fb8a1ec4f53a9f4c2ff89469609879641177
# subpackages require explicit ordering
subpackages="debuginfod libdebuginfod libelf elfutils-devel"
if [ "$XBPS_TARGET_LIBC" = musl ]; then
- makedepends+=" argp-standalone musl-fts-devel musl-obstack-devel musl-legacy-compat"
+ makedepends+=" argp-standalone musl-fts-devel musl-obstack-devel"
# mainly warnings from using error.h
CFLAGS="-Wno-error"
next prev parent reply other threads:[~2021-11-13 2:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-11 0:16 [PR PATCH] " ericonr
2021-11-13 2:16 ` ericonr [this message]
2021-11-13 2:16 ` [PR PATCH] [Merged]: " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211113021618.TR2fUVVgGDEFOnmet1vCNXYAe6xmmSrHXJ4q3SelBMU@z \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).