Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] pahole: update to 1.15.
Date: Sat, 06 Jul 2019 01:59:04 +0200	[thread overview]
Message-ID: <20190705235904.-iVd7KU-Zt9kU5ap-x0rGDl9FXAH-dPd5pD0r2Eac3s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12822@inbox.vuxu.org>

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

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

https://github.com/abenson/void-packages pahole_1.15
https://github.com/void-linux/void-packages/pull/12822

pahole: update to 1.15.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pahole_1.15-12822.patch --]
[-- Type: application/text/x-diff, Size: 2398 bytes --]

From b108bb310476efd4aecb86dddf58f2a1b1d7f3d3 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 5 Jul 2019 17:44:00 -0500
Subject: [PATCH] pahole: update to 1.15.

---
 srcpkgs/pahole/patches/fix_always_inline.patch | 13 +++++++++++++
 srcpkgs/pahole/template                        | 14 +++++++++++---
 2 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/pahole/patches/fix_always_inline.patch b/srcpkgs/pahole/patches/fix_always_inline.patch
index 5e47f521122..5c13fe90438 100644
--- a/srcpkgs/pahole/patches/fix_always_inline.patch
+++ b/srcpkgs/pahole/patches/fix_always_inline.patch
@@ -11,3 +11,16 @@
  #define roundup(x,y) ((((x) + ((y) - 1)) / (y)) * (y))
  
  static inline __attribute__((const)) bool is_power_of_2(unsigned long n)
+--- lib/bpf/src/libbpf.c.orig
++++ lib/bpf/src/libbpf.c
+@@ -10,6 +10,10 @@
+  * Copyright (C) 2019 Isovalent, Inc.
+  */
+
++#ifndef __always_inline
++#define __always_inline inline
++#endif
++
+ #ifndef _GNU_SOURCE
+ #define _GNU_SOURCE
+ #endif
diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template
index f8b412862ba..f05bbd110f2 100644
--- a/srcpkgs/pahole/template
+++ b/srcpkgs/pahole/template
@@ -1,7 +1,8 @@
 # Template file for 'pahole'
 pkgname=pahole
-version=1.12
+version=1.15
 revision=1
+_bpfver=0.0.3
 build_style=cmake
 configure_args="-D__LIB=lib"
 makedepends="elfutils-devel zlib-devel"
@@ -9,13 +10,20 @@ short_desc="Various DWARF utils"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="GPL-2.0-only"
 homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
-distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz"
-checksum=2452464cbfdbaece6187d7860000fe8ef24b7271f88122cf540d3e0ab4a644d1
+distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
+ https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
+checksum="a84e183a0ef652e4198a161a20d9eeb45d3c153f5208e1cea833e1f28ae6207d
+ 972da73f4774be062a112fc0c9ebb5d238b775ed4512df5ce2cf20c8333929d3"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" musl-obstack argp-standalone"
 esac
 
+pre_patch() {
+	rm -rf lib/bpf
+	mv "../libbpf-${_bpfver}/" "lib/bpf"
+}
+
 pre_configure() {
 	case $XBPS_TARGET_MACHINE in
 		*-musl) sed -i CMakeLists.txt -e "/^target_link_libraries/s/)/ obstack argp)/"

  reply	other threads:[~2019-07-05 23:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05 22:44 [PR PATCH] " voidlinux-github
2019-07-05 23:59 ` voidlinux-github [this message]
2019-07-05 23:59 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-06  8:25 ` [PR PATCH] [Merged]: " voidlinux-github

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=20190705235904.-iVd7KU-Zt9kU5ap-x0rGDl9FXAH-dPd5pD0r2Eac3s@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).