File: fix-version.patch

package info (click to toggle)
rust-libbpf-sys 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 420 kB
  • sloc: sh: 21; ansic: 5; makefile: 4
file content (48 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -65,28 +65,9 @@
 default-features = false
 
 [build-dependencies.pkg-config]
-version = "^0.3.30"
+version = "^0.3.27"
 
 [features]
-bindgen-source = ["bindgen"]
-default = ["vendored-libbpf"]
-novendor = []
-static = [
-    "static-libbpf",
-    "static-libelf",
-    "static-zlib",
-]
-static-libbpf = []
-static-libelf = ["static-libbpf"]
-static-zlib = ["static-libbpf"]
-vendored = [
-    "vendored-libbpf",
-    "vendored-libelf",
-    "vendored-zlib",
-]
-vendored-libbpf = ["static-libbpf"]
-vendored-libelf = ["static-libelf"]
-vendored-zlib = ["static-zlib"]
 
 [badges.github]
 repository = "libbpf/libbpf-sys"
--- a/bindings.h
+++ b/bindings.h
@@ -1,13 +1,5 @@
-#ifdef __LIBBPF_SYS_NOVENDOR
 #include <linux/if_link.h>
 #include <linux/perf_event.h>
 #include <bpf/bpf.h>
 #include <bpf/btf.h>
 #include <bpf/libbpf.h>
-#else
-#include "libbpf/include/uapi/linux/if_link.h"
-#include "libbpf/include/uapi/linux/perf_event.h"
-#include "libbpf/src/bpf.h"
-#include "libbpf/src/btf.h"
-#include "libbpf/src/libbpf.h"
-#endif /* __LIBBPF_SYS_NOVENDOR */