Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] binutils: enable libdebuginfod functionality.
Date: Sun, 22 Nov 2020 17:05:33 +0100	[thread overview]
Message-ID: <20201122160533.elc_W1wgVBdok3N-kDUTq_dfMfOrBL7j3Ekgc1_b57o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26502@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages debugbin
https://github.com/void-linux/void-packages/pull/26502

binutils: enable libdebuginfod functionality.


A patch file from https://github.com/void-linux/void-packages/pull/26502.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-debugbin-26502.patch --]
[-- Type: text/x-diff, Size: 1731 bytes --]

From 0cd88b0fae482666a7c04725ddbeb352f6cb1e74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Wed, 18 Nov 2020 23:29:53 -0300
Subject: [PATCH] binutils: enable libdebuginfod functionality.

Also set makedepends initial value correctly, drop noarch.
---
 srcpkgs/binutils/template | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template
index e6f916ed68d..8aedb0d373e 100644
--- a/srcpkgs/binutils/template
+++ b/srcpkgs/binutils/template
@@ -1,7 +1,7 @@
 # Template file for 'binutils'
 pkgname=binutils
 version=2.34
-revision=1
+revision=2
 bootstrap=yes
 short_desc="GNU binary utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -10,12 +10,16 @@ homepage="http://www.gnu.org/software/binutils/"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
 checksum=f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
 
+makedepends="zlib-devel"
+
 if [ "$CHROOT_READY" ]; then
 	hostmakedepends="flex perl texinfo"
+	makedepends+=" elfutils-devel"
 	checkdepends="bc"
 	depends="binutils-doc"
+
+	_debuginfod_config="--with-debuginfod"
 fi
-makedepends+=" zlib-devel"
 
 _get_triplet() {
 	if [ -z "$XBPS_TRIPLET" ]; then
@@ -49,7 +53,7 @@ do_configure() {
 		--enable-plugins --enable-secureplt --with-mmap \
 		--disable-shared --enable-gold --disable-werror \
 		--enable-deterministic-archives --enable-ld=default \
-		--disable-nls $CONFIGFLAG
+		--disable-nls ${_debuginfod_config} $CONFIGFLAG
 }
 
 do_build() {
@@ -133,7 +137,6 @@ binutils-devel_package() {
 }
 
 binutils-doc_package() {
-	archs=noarch
 	short_desc+=" - info files"
 	pkg_install() {
 		vmove usr/share/info

  parent reply	other threads:[~2020-11-22 16:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19  2:31 [PR PATCH] " ericonr
2020-11-19  2:33 ` [PR PATCH] [Updated] " ericonr
2020-11-19  2:38 ` ericonr
2020-11-22 16:05 ` ericonr [this message]
2020-12-26  2:44 ` [PR PATCH] [Closed]: " q66

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=20201122160533.elc_W1wgVBdok3N-kDUTq_dfMfOrBL7j3Ekgc1_b57o@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).