summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-05-16 19:21:52 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-05-19 20:17:10 +0430
commit2ec53fd9c0538af0b4724d552fc88f6bc3bcf13d (patch)
tree8d93773a00e1a3356aaaa2519cd039cebec6716f
parent9424b610ed747e28dd524e3ffdad22d9d4651e7c (diff)
downloadserenity-2ec53fd9c0538af0b4724d552fc88f6bc3bcf13d.zip
Ports: Update m4's patches to use git patches
-rw-r--r--Ports/m4/patches/0001-Don-t-build-misc-stuff.patch40
-rw-r--r--Ports/m4/patches/Makefile.am.patch11
-rw-r--r--Ports/m4/patches/Makefile.in.patch11
-rw-r--r--Ports/m4/patches/ReadMe.md8
4 files changed, 48 insertions, 22 deletions
diff --git a/Ports/m4/patches/0001-Don-t-build-misc-stuff.patch b/Ports/m4/patches/0001-Don-t-build-misc-stuff.patch
new file mode 100644
index 0000000000..6f54253526
--- /dev/null
+++ b/Ports/m4/patches/0001-Don-t-build-misc-stuff.patch
@@ -0,0 +1,40 @@
+From 6e40ded922c482c9e2d96d0101d783174ab7c661 Mon Sep 17 00:00:00 2001
+From: AnicJov <contact.andrija@gmail.com>
+Date: Wed, 24 Mar 2021 23:42:01 +0100
+Subject: [PATCH] Don't build misc stuff
+
+Skip building the examples, docs and avoid the checks.
+---
+ Makefile.am | 2 +-
+ Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 22781f5..4f4317d 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -20,7 +20,7 @@
+ ##
+ ## Written by Gary V. Vaughan <gary@gnu.org>
+
+-SUBDIRS = . examples lib src doc checks
++SUBDIRS = . lib src
+ EXTRA_DIST = bootstrap c-boxes.el gendocs.sh GNUmakefile Makefile.maint \
+ m4/gnulib-cache.m4
+ DISTCLEANFILES = stamp-h
+diff --git a/Makefile.in b/Makefile.in
+index 261472b..57164a4 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -267,7 +267,7 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = . examples lib src doc checks
++SUBDIRS = . lib src
+ EXTRA_DIST = bootstrap c-boxes.el gendocs.sh GNUmakefile Makefile.maint \
+ m4/gnulib-cache.m4
+
+--
+2.36.1
+
diff --git a/Ports/m4/patches/Makefile.am.patch b/Ports/m4/patches/Makefile.am.patch
deleted file mode 100644
index 98a048c973..0000000000
--- a/Ports/m4/patches/Makefile.am.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- m4-1.4.9/Makefile.am 2021-03-22 06:08:56.323301400 +0100
-+++ m4-1.4.9-patched/Makefile.am 2021-03-22 06:10:35.508791200 +0100
-@@ -20,7 +20,7 @@
- ##
- ## Written by Gary V. Vaughan <gary@gnu.org>
-
--SUBDIRS = . examples lib src doc checks
-+SUBDIRS = . lib src
- EXTRA_DIST = bootstrap c-boxes.el gendocs.sh GNUmakefile Makefile.maint \
- m4/gnulib-cache.m4
- DISTCLEANFILES = stamp-h
diff --git a/Ports/m4/patches/Makefile.in.patch b/Ports/m4/patches/Makefile.in.patch
deleted file mode 100644
index fa2105ef6f..0000000000
--- a/Ports/m4/patches/Makefile.in.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- m4-1.4.9/Makefile.in 2021-03-22 06:13:45.959823300 +0100
-+++ m4-1.4.9-patched/Makefile.in 2021-03-22 06:18:06.420963000 +0100
-@@ -267,7 +267,7 @@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = . examples lib src doc checks
-+SUBDIRS = . lib src
- EXTRA_DIST = bootstrap c-boxes.el gendocs.sh GNUmakefile Makefile.maint \
- m4/gnulib-cache.m4
-
diff --git a/Ports/m4/patches/ReadMe.md b/Ports/m4/patches/ReadMe.md
new file mode 100644
index 0000000000..f1b2e8d803
--- /dev/null
+++ b/Ports/m4/patches/ReadMe.md
@@ -0,0 +1,8 @@
+# Patches for m4 on SerenityOS
+
+## `0001-Don-t-build-misc-stuff.patch`
+
+Don't build misc stuff
+
+Skip building the examples, docs and avoid the checks.
+