Ports: Update m4's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:52 +04:30 committed by Ali Mohammad Pur
parent 9424b610ed
commit 2ec53fd9c0
4 changed files with 48 additions and 22 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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.