diff --git a/srcpkgs/blktrace/patches/0001-Fix-build.patch b/srcpkgs/blktrace/patches/0001-Fix-build.patch new file mode 100644 index 00000000000..e78f5c3a090 --- /dev/null +++ b/srcpkgs/blktrace/patches/0001-Fix-build.patch @@ -0,0 +1,24 @@ +From 1f98dd65fc04aab411867c85e39da996d6d0e110 Mon Sep 17 00:00:00 2001 +From: Nathan Owens +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) $< diff --git a/srcpkgs/blktrace/template b/srcpkgs/blktrace/template index 0cc1b3ae91a..f172a13659a 100644 --- a/srcpkgs/blktrace/template +++ b/srcpkgs/blktrace/template @@ -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