Skip to content

Commit

Permalink
Revert "depends: systemtap: remove variadic params that trigger compi…
Browse files Browse the repository at this point in the history
…ler warnings"

This reverts commit df7ae8b.
  • Loading branch information
fanquake committed Jan 4, 2024
1 parent 737e588 commit 6047e25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
3 changes: 1 addition & 2 deletions depends/packages/systemtap.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ $(package)_version=4.8
$(package)_download_path=https://sourceware.org/ftp/systemtap/releases/
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=cbd50a4eba5b261394dc454c12448ddec73e55e6742fda7f508f9fbc1331c223
$(package)_patches=remove_SDT_ASM_SECTION_AUTOGROUP_SUPPORT_check.patch fix_variadic_warning.patch
$(package)_patches=remove_SDT_ASM_SECTION_AUTOGROUP_SUPPORT_check.patch

define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/remove_SDT_ASM_SECTION_AUTOGROUP_SUPPORT_check.patch && \
patch -p1 < $($(package)_patch_dir)/fix_variadic_warning.patch && \
mkdir -p $($(package)_staging_prefix_dir)/include/sys && \
cp includes/sys/sdt.h $($(package)_staging_prefix_dir)/include/sys/sdt.h
endef
16 changes: 0 additions & 16 deletions depends/patches/systemtap/fix_variadic_warning.patch

This file was deleted.

0 comments on commit 6047e25

Please sign in to comment.