* [PR PATCH] elfutils: update to 0.186.
@ 2021-11-11 0:16 ericonr
2021-11-13 2:16 ` [PR PATCH] [Updated] " ericonr
2021-11-13 2:16 ` [PR PATCH] [Merged]: " ericonr
0 siblings, 2 replies; 3+ messages in thread
From: ericonr @ 2021-11-11 0:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]
There is a new 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: **YES**|**briefly**|**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: 3116 bytes --]
From 2b10b0470bbfa5739ef34844d41ad0defeaed5c7 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 | 40 +++++++++++++++++++
srcpkgs/elfutils/template | 6 +--
2 files changed, 43 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..c611add75628
--- /dev/null
+++ b/srcpkgs/elfutils/patches/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch
@@ -0,0 +1,40 @@
+From aed5a8da8e4d78b5d6f1e7e5f6659a55baf1f32e Mon Sep 17 00:00:00 2001
+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>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+"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/ChangeLog | 4 ++++
+ 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"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] elfutils: update to 0.186.
2021-11-11 0:16 [PR PATCH] elfutils: update to 0.186 ericonr
@ 2021-11-13 2:16 ` ericonr
2021-11-13 2:16 ` [PR PATCH] [Merged]: " ericonr
1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-11-13 2:16 UTC (permalink / raw)
To: ml
[-- 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"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: elfutils: update to 0.186.
2021-11-11 0:16 [PR PATCH] elfutils: update to 0.186 ericonr
2021-11-13 2:16 ` [PR PATCH] [Updated] " ericonr
@ 2021-11-13 2:16 ` ericonr
1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-11-13 2:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
There's a merged pull request on the void-packages repository
elfutils: update to 0.186.
https://github.com/void-linux/void-packages/pull/34019
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-13 2:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 0:16 [PR PATCH] elfutils: update to 0.186 ericonr
2021-11-13 2:16 ` [PR PATCH] [Updated] " ericonr
2021-11-13 2:16 ` [PR PATCH] [Merged]: " ericonr
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).