blktrace: unbreak

This commit is contained in:
Nathan Owens 2019-01-13 18:53:27 -06:00 committed by maxice8
parent e88275315d
commit e4b26ca101
2 changed files with 25 additions and 7 deletions

View File

@ -0,0 +1,24 @@
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) $<

View File

@ -11,10 +11,4 @@ license="GPL-2.0-or-later"
homepage="http://brick.kernel.dk/"
distfiles="http://brick.kernel.dk/snaps/${pkgname}-${version}.tar.bz2"
checksum=26961888f7308f5e1343b16c44a59d2ab190e12ae17b1841e4a4e304bd3a3f45
broken="
btreplay.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status"
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile */Makefile
}
disable_parallel_build=yes