Ports: Update figlet's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:35 +04:30 committed by Ali Mohammad Pur
parent 1e06a78966
commit 17ef3530cd
3 changed files with 32 additions and 11 deletions

View file

@ -0,0 +1,25 @@
From a31eefa8225cdf14ac34d57d85cdc27df027b09b Mon Sep 17 00:00:00 2001
From: Larkin <45925460+larb0b@users.noreply.github.com>
Date: Tue, 24 Sep 2019 02:56:39 -0400
Subject: [PATCH] Disable toilet fonts
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5a51d51..5044b4c 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ LDFLAGS =
# Feature flags:
# define TLF_FONTS to use TOIlet TLF fonts
-XCFLAGS = -DTLF_FONTS
+#XCFLAGS = -DTLF_FONTS
# Where to install files
prefix = /usr/local
--
2.36.1

View file

@ -0,0 +1,7 @@
# Patches for figlet on SerenityOS
## `0001-Disable-toilet-fonts.patch`
Disable toilet fonts

View file

@ -1,11 +0,0 @@
--- figlet-2.2.5/Makefile 2012-06-01 14:51:09.000000000 +0200
+++ figlet-2.2.5-patched/Makefile 2019-06-09 12:15:01.817177188 +0200
@@ -26,7 +26,7 @@
# Feature flags:
# define TLF_FONTS to use TOIlet TLF fonts
-XCFLAGS = -DTLF_FONTS
+#XCFLAGS = -DTLF_FONTS
# Where to install files
prefix = /usr/local