strace: remove code coverage makefile var
authorRosen Penev <rosenp@gmail.com>
Wed, 20 Oct 2021 23:27:49 +0000 (16:27 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 2 Nov 2021 22:37:19 +0000 (23:37 +0100)
It relies on a custom ax_code_coverage.m4 file included with strace.
Unfortunately, this conflicts with the one included with
autoconf-macros. Instead of creating a huge patch to fix it, just remove
the variable as code coverage is not used here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/devel/strace/Makefile
package/devel/strace/patches/010-m4.patch [new file with mode: 0644]

index a95d429311ad5f77383967d9ad2e0d2bf751392d..8c4a26b63b2527595c4cbe27db34dc22b3f07be1 100644 (file)
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=strace
 PKG_VERSION:=5.10
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://strace.io/files/$(PKG_VERSION)
diff --git a/package/devel/strace/patches/010-m4.patch b/package/devel/strace/patches/010-m4.patch
new file mode 100644 (file)
index 0000000..478961c
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -408,7 +408,6 @@ strace_LDADD += $(libiberty_LIBS)
+ endif
+ endif
+-@CODE_COVERAGE_RULES@
+ CODE_COVERAGE_BRANCH_COVERAGE = 1
+ CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) \
+       --prefix $(shell cd $(abs_top_srcdir)/.. && pwd || echo .)