summary refs log tree commit diff
path: root/app-misc/bdfresize/files
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/files
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 '')
-rw-r--r--app-misc/bdfresize/files/malloc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/bdfresize/files/malloc.patch b/app-misc/bdfresize/files/malloc.patch
new file mode 100644
index 0000000..256798b
--- /dev/null
+++ b/app-misc/bdfresize/files/malloc.patch
@@ -0,0 +1,12 @@
+diff --git i/charresize.c w/charresize.c
+index b6c694a..795bff4 100644
+--- i/charresize.c
++++ w/charresize.c
+@@ -46,7 +46,6 @@ static int	bit[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
+ void
+ processChar(void)
+ {
+-  char	*malloc();
+   char	*srcimage;
+   int	*dstgray;
+

Consider giving Nix/NixOS a try! <3