From 2ec53fd9c0538af0b4724d552fc88f6bc3bcf13d Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Mon, 16 May 2022 19:21:52 +0430 Subject: Ports: Update m4's patches to use git patches --- Ports/m4/patches/0001-Don-t-build-misc-stuff.patch | 40 ++++++++++++++++++++++ Ports/m4/patches/Makefile.am.patch | 11 ------ Ports/m4/patches/Makefile.in.patch | 11 ------ Ports/m4/patches/ReadMe.md | 8 +++++ 4 files changed, 48 insertions(+), 22 deletions(-) create mode 100644 Ports/m4/patches/0001-Don-t-build-misc-stuff.patch delete mode 100644 Ports/m4/patches/Makefile.am.patch delete mode 100644 Ports/m4/patches/Makefile.in.patch create mode 100644 Ports/m4/patches/ReadMe.md 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 +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 + +-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 - --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. + -- cgit v1.2.3