aboutsummaryrefslogtreecommitdiff
path: root/depends/packages
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2022-09-13 20:35:56 +0000
committerfanquake <fanquake@gmail.com>2023-01-23 18:12:26 +0000
commitdf7ae8b7ca9cf53357d6a1c6bb70a2e40d2a1017 (patch)
tree1ee6346636f49bcc83a0577722dfb0df3b56e89e /depends/packages
parenta66d82e25f866ee72417fca7adae8feaddc8bdb0 (diff)
depends: systemtap: remove variadic params that trigger compiler warnings
Diffstat (limited to 'depends/packages')
-rw-r--r--depends/packages/systemtap.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/depends/packages/systemtap.mk b/depends/packages/systemtap.mk
index c912e18c31..541ebeee01 100644
--- a/depends/packages/systemtap.mk
+++ b/depends/packages/systemtap.mk
@@ -3,10 +3,11 @@ $(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
+$(package)_patches=remove_SDT_ASM_SECTION_AUTOGROUP_SUPPORT_check.patch fix_variadic_warning.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