From 8f32c501e39755fe26caf296c966a13c1a473d80 Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 21 Aug 2024 04:28:06 +0300 Subject: [PATCH] fix: add missing local patches --- .../docbook-xsl-nons-1.79.2-stack_fix-1.patch | 39 +++++++++++++++++++ src/git/pkg.sh | 4 +- src/sgml-common/pkg.sh | 2 +- .../sgml-common-0.6.3-manpage-1.patch | 14 +++++++ 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 src/docbook-xsl-nons/docbook-xsl-nons-1.79.2-stack_fix-1.patch create mode 100644 src/sgml-common/sgml-common-0.6.3-manpage-1.patch diff --git a/src/docbook-xsl-nons/docbook-xsl-nons-1.79.2-stack_fix-1.patch b/src/docbook-xsl-nons/docbook-xsl-nons-1.79.2-stack_fix-1.patch new file mode 100644 index 0000000..eaba579 --- /dev/null +++ b/src/docbook-xsl-nons/docbook-xsl-nons-1.79.2-stack_fix-1.patch @@ -0,0 +1,39 @@ +Submitted By: Bruce Dubbs +Date: 2018-01-01 +Initial Package Version: 1.78.1 +Upstream Status: Unsure +Origin: Peter De Wachter +Description: use EXSLT "replace" function when available + A recursive implementation of string.subst is problematic, + long strings with many matches will cause stack overflows. +Author: Peter De Wachter +Bug-Debian: https://bugs.debian.org/750593 + +Rediffed for 1.79.2 by Bruce Dubbs + +diff -Naur docbook-xsl-1.79.2.orig/lib/lib.xsl docbook-xsl-1.79.2/lib/lib.xsl +--- docbook-xsl-1.79.2.orig/lib/lib.xsl 2016-12-09 16:41:39.000000000 -0600 ++++ docbook-xsl-1.79.2/lib/lib.xsl 2018-01-01 12:54:52.507332514 -0600 +@@ -6,7 +6,11 @@ + + This module implements DTD-independent functions + +- ******************************************************************** --> ++ ******************************************************************** --> ++ + + + +@@ -52,6 +56,9 @@ + + + ++ ++ ++ + + + diff --git a/src/git/pkg.sh b/src/git/pkg.sh index 1ff5b3f..6e89f43 100644 --- a/src/git/pkg.sh +++ b/src/git/pkg.sh @@ -1,13 +1,13 @@ NAME="git" DESC="Free and open source, distributed version control system" -VERSION="2.41.0" +VERSION="2.44.0" FILES=( "https://www.kernel.org/pub/software/scm/git/git-${VERSION}.tar.xz" "https://www.kernel.org/pub/software/scm/git/git-manpages-${VERSION}.tar.xz" ) HASHES=( - "c1f58a12b891ad73927b8e4a3aa29c7b" + "7e4eb7c45e9ba7c90fa51deeea49732f" "bc7a4c944492c76fc3cd766ce22e826d0241e43792c611d4fdc068e0df545877" ) diff --git a/src/sgml-common/pkg.sh b/src/sgml-common/pkg.sh index b9cf678..1d828d7 100644 --- a/src/sgml-common/pkg.sh +++ b/src/sgml-common/pkg.sh @@ -4,7 +4,7 @@ VERSION="0.6.3" FILES=( "https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-${VERSION}.tgz" - "https://www.linuxfromscratch.org/patches/blfs/12.0/sgml-common-${VERSION}-manpage-1.patch" + "sgml-common-${VERSION}-manpage-1.patch" ) HASHES=( "103c9828f24820df86e55e7862e28974" diff --git a/src/sgml-common/sgml-common-0.6.3-manpage-1.patch b/src/sgml-common/sgml-common-0.6.3-manpage-1.patch new file mode 100644 index 0000000..c3773d1 --- /dev/null +++ b/src/sgml-common/sgml-common-0.6.3-manpage-1.patch @@ -0,0 +1,14 @@ +Submitted By: Thomas Pegg +Date: 2003-11-18 +Initial Package Version: 0.6.3 +Origin: Thomas Pegg +Description: Fixes syntax of Makefile.am for installation of man pages, +for use with current automake versions 1.7.8 and higher. + +diff -Naur sgml-common-0.6.3.orig/doc/man/Makefile.am sgml-common-0.6.3/doc/man/Makefile.am +--- sgml-common-0.6.3.orig/doc/man/Makefile.am 2001-01-30 14:42:22.000000000 +0000 ++++ sgml-common-0.6.3/doc/man/Makefile.am 2003-11-18 16:48:47.000000000 +0000 +@@ -1,2 +1 @@ +-man8dir = $(mandir)/man8 +-man8_DATA = *.8 ++man_MANS = install-catalog.8