summaryrefslogtreecommitdiff
path: root/Ports/sl/patches
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-05-16 23:40:14 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-05-19 20:17:10 +0430
commit54f191f25b3c38b5b35352888adcfd72ff1b602f (patch)
treefd3179e920aaf5f5769d54de7c7ed81141e21372 /Ports/sl/patches
parent06f9a1bacc3c28b51853295f9965183aacb0660e (diff)
downloadserenity-54f191f25b3c38b5b35352888adcfd72ff1b602f.zip
Ports: Update sl's patches to use git patches
Diffstat (limited to 'Ports/sl/patches')
-rw-r--r--Ports/sl/patches/0001-Add-an-install-target.patch27
-rw-r--r--Ports/sl/patches/ReadMe.md8
-rw-r--r--Ports/sl/patches/serenity-changes.patch14
3 files changed, 35 insertions, 14 deletions
diff --git a/Ports/sl/patches/0001-Add-an-install-target.patch b/Ports/sl/patches/0001-Add-an-install-target.patch
new file mode 100644
index 0000000000..e9edfeb9c6
--- /dev/null
+++ b/Ports/sl/patches/0001-Add-an-install-target.patch
@@ -0,0 +1,27 @@
+From 71f2cc48a3e66377763401054c663ca6a2a3f7ca Mon Sep 17 00:00:00 2001
+From: Gunnar Beutner <gbeutner@serenityos.org>
+Date: Thu, 15 Apr 2021 15:43:18 +0200
+Subject: [PATCH] Add an install target
+
+Co-Authored-By: Noah Rosamilia <ivoahivoah@gmail.com>
+---
+ Makefile | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/Makefile b/Makefile
+index c3005d2..04fcb9d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -18,3 +18,9 @@ clean:
+ rm -f sl
+
+ distclean: clean
++
++install: all
++ mkdir -p ${DESTDIR}/usr/local/bin
++ install sl ${DESTDIR}/usr/local/bin/sl
++ mkdir -p ${DESTDIR}/usr/local/share/man/man1
++ gzip -9 -c < sl.1 > ${DESTDIR}/usr/local/share/man/man1/sl.1.gz
+--
+2.36.1
+
diff --git a/Ports/sl/patches/ReadMe.md b/Ports/sl/patches/ReadMe.md
new file mode 100644
index 0000000000..6772990c4a
--- /dev/null
+++ b/Ports/sl/patches/ReadMe.md
@@ -0,0 +1,8 @@
+# Patches for sl on SerenityOS
+
+## `0001-Add-an-install-target.patch`
+
+Add an install target
+
+
+
diff --git a/Ports/sl/patches/serenity-changes.patch b/Ports/sl/patches/serenity-changes.patch
deleted file mode 100644
index 2a1ed1074f..0000000000
--- a/Ports/sl/patches/serenity-changes.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/Makefile b/Makefile
-index c3005d2..e071fc9 100644
---- a/Makefile
-+++ b/Makefile
-@@ -18,3 +18,9 @@ clean:
- rm -f sl
-
- distclean: clean
-+
-+install: all
-+ mkdir -p ${DESTDIR}/usr/local/bin
-+ install sl ${DESTDIR}/usr/local/bin/sl
-+ mkdir -p ${DESTDIR}/usr/local/share/man/man1
-+ gzip -9 -c < sl.1 > ${DESTDIR}/usr/local/share/man/man1/sl.1.gz