tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bpftools: Re-apply patch to fix build on powerpc64*
OPNA2608
7 months ago
6ffc64b8
2f29d6f3
+18
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
bp
bpftools
include-asm-types-for-powerpc64.patch
package.nix
+12
pkgs/by-name/bp/bpftools/include-asm-types-for-powerpc64.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
diff '--color=auto' -ruN a/tools/include/uapi/linux/types.h b/tools/include/uapi/linux/types.h
2
+
--- a/tools/include/uapi/linux/types.h 2025-05-18 06:26:10.000000000 +0000
3
+
+++ b/tools/include/uapi/linux/types.h 2025-07-04 08:00:39.772748792 +0000
4
+
@@ -2,7 +2,7 @@
5
+
#ifndef _UAPI_LINUX_TYPES_H
6
+
#define _UAPI_LINUX_TYPES_H
7
+
8
+
-#include <asm-generic/int-ll64.h>
9
+
+#include <asm/types.h>
10
+
11
+
/* copied from linux:include/uapi/linux/types.h */
12
+
#define __bitwise
+6
pkgs/by-name/bp/bpftools/package.nix
···
22
23
separateDebugInfo = true;
24
0
0
0
0
0
0
25
depsBuildBuild = [ buildPackages.stdenv.cc ];
26
nativeBuildInputs = [
27
python3
···
22
23
separateDebugInfo = true;
24
25
+
patches = [
26
+
# fix unknown type name '__vector128' on powerpc64*
27
+
# https://www.spinics.net/lists/bpf/msg28613.html
28
+
./include-asm-types-for-powerpc64.patch
29
+
];
30
+
31
depsBuildBuild = [ buildPackages.stdenv.cc ];
32
nativeBuildInputs = [
33
python3