void-packages/srcpkgs/blktrace/patches/0001-Fix-build.patch

25 lines
582 B
Diff

From 1f98dd65fc04aab411867c85e39da996d6d0e110 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Sun, 13 Jan 2019 19:48:09 -0600
Subject: [PATCH] Fix build
---
Makefile | 3 +--
btreplay/Makefile | 3 ---
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git Makefile Makefile
index fdbded0..c28c330 100644
--- Makefile
+++ Makefile
@@ -19,8 +19,7 @@ iowatcher/iowatcher:
btreplay/btrecord:
$(MAKE) -C btreplay
-btreplay/btreplay:
- $(MAKE) -C btreplay
+btreplay/btreplay: btreplay/btrecord
%.o: %.c
$(CC) -o $*.o -c $(ALL_CFLAGS) $<