summary refs log tree commit diff
path: root/app-misc/bdfresize/bdfresize-1.5.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-02-18 12:48:04 +0300
committerAzat Bahawi <azahi@teknik.io>2021-02-18 12:48:04 +0300
commit1f9488b1c6645f868ecee22dc7174dc9b6ca25cc (patch)
treef52f441382c4314cd57b28d41394f938a147cac5 /app-misc/bdfresize/bdfresize-1.5.ebuild
parentapp-misc/afetch: Fix build for live (diff)
app-misc/bdfresize: Use patch instead of sed
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'app-misc/bdfresize/bdfresize-1.5.ebuild')
-rw-r--r--app-misc/bdfresize/bdfresize-1.5.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/app-misc/bdfresize/bdfresize-1.5.ebuild b/app-misc/bdfresize/bdfresize-1.5.ebuild
index e628348..18748e9 100644
--- a/app-misc/bdfresize/bdfresize-1.5.ebuild
+++ b/app-misc/bdfresize/bdfresize-1.5.ebuild
@@ -16,7 +16,6 @@ DEPEND=""
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
-src_prepare() {
-	default
-	sed -e '/*malloc();/d' -i charresize.c || die
-}
+PATCHES=(
+	"${FILESDIR}/malloc.patch"
+)

Consider giving Nix/NixOS a try! <3