diff --git a/srcpkgs/pahole/patches/fix_always_inline.patch b/srcpkgs/pahole/patches/fix_always_inline.patch index 6ba75e61c51..950e6b635f5 100644 --- a/srcpkgs/pahole/patches/fix_always_inline.patch +++ b/srcpkgs/pahole/patches/fix_always_inline.patch @@ -24,3 +24,16 @@ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif +--- a/lib/bpf/src/gen_loader.c ++++ b/lib/bpf/src/gen_loader.c +@@ -1,5 +1,10 @@ + // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) + /* Copyright (c) 2021 Facebook */ ++ ++#ifndef __always_inline ++#define __always_inline inline ++#endif ++ + #include + #include + #include diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template index c68060d970d..cf86686a63f 100644 --- a/srcpkgs/pahole/template +++ b/srcpkgs/pahole/template @@ -1,7 +1,7 @@ # Template file for 'pahole' pkgname=pahole version=1.23 -revision=1 +revision=2 wrksrc="dwarves-${version}" build_style=cmake configure_args="-D__LIB=lib"