summaryrefslogtreecommitdiffstats
path: root/make/strace.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/strace.mk')
-rw-r--r--make/strace.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/strace.mk b/make/strace.mk
index 36be73a1a..d7e3ffc52 100644
--- a/make/strace.mk
+++ b/make/strace.mk
@@ -7,6 +7,7 @@ STRACE_SOURCE:=strace_4.4-1.tar.gz
STRACE_SITE:=http://aleron.dl.sourceforge.net/sourceforge/strace
STRACE_CAT:=zcat
STRACE_DIR:=$(BUILD_DIR)/strace-4.4
+STRACE_PATCH:=$(SOURCE_DIR)/strace.patch
$(DL_DIR)/$(STRACE_SOURCE):
@@ -16,6 +17,7 @@ strace-source: $(DL_DIR)/$(STRACE_SOURCE)
$(STRACE_DIR)/.unpacked: $(DL_DIR)/$(STRACE_SOURCE)
$(STRACE_CAT) $(DL_DIR)/$(STRACE_SOURCE) | tar -C $(BUILD_DIR) -xvf -
+ cat $(SOURCE_DIR)/strace.patch | patch -p1 -d $(STRACE_DIR)
touch $(STRACE_DIR)/.unpacked
$(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked