SHA256
1
0
forked from pool/dwarves
dwarves/dwarves-Prep-1.22.patch
Jan Engelhardt 0cb0812be7 Accepting request 906652 from home:michals
- Update to version 1.21+git175.1ef87b2 (jsc#SLE-17288):
  * libbpf: bump dependency to >= 0.4.0
  * CMakeLists.txt: Enable SHARED and STATIC lib creation
  * libbpf: Allow to use packaged version
  * btfdiff: Support diffing DWARF vs detached BTF
  * pahole: Allow encoding BTF into a detached file
  * pahole: Add --kabi_prefix flag
  * btf_encoder: fix and complete filtering out zero-sized per-CPU variables
  * btf: Remove ftrace filter
  * pahole: Introduce --with_flexible_array option to show just types ending in a flexible array
  * Many updates to btf_encoder and bug fixes
- Remove upstreamed patches
  - btf_encoder-fix-and-complete-filtering-out-zero-sized-per-CPU-variables.patch
  - remove-ftrace-filter.patch
- Pretend version 1.22 to make kernel happy
  + dwarves-Prep-1.22.patch

OBS-URL: https://build.opensuse.org/request/show/906652
OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=69
2021-07-16 12:07:02 +00:00

15 lines
648 B
Diff

--- dwarves-1.21+git175.1ef87b2/CMakeLists.txt 2021-06-17 02:07:22.000000000 +0200
+++ dwarves-1.21+git175.1ef87b2/CMakeLists.txt 2021-07-15 22:09:41.020434732 +0200
@@ -53,9 +53,9 @@
endif (NOT DEFINED BUILD_SHARED_LIBS)
# Just for grepping, DWARVES_VERSION isn't used anywhere anymore
-# add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.21")
+# add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.22")
add_definitions(-D_GNU_SOURCE -DDWARVES_MAJOR_VERSION=1)
-add_definitions(-D_GNU_SOURCE -DDWARVES_MINOR_VERSION=21)
+add_definitions(-D_GNU_SOURCE -DDWARVES_MINOR_VERSION=22)
find_package(DWARF REQUIRED)
find_package(ZLIB REQUIRED)