fix: add missing local patches

This commit is contained in:
ngn 2024-08-21 04:28:06 +03:00
parent 927805075a
commit 8f32c501e3
4 changed files with 56 additions and 3 deletions

View File

@ -0,0 +1,39 @@
Submitted By: Bruce Dubbs <bdubbs at linuxfromscratch dot org>
Date: 2018-01-01
Initial Package Version: 1.78.1
Upstream Status: Unsure
Origin: Peter De Wachter <pdewacht@gmail.com>
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 <pdewacht@gmail.com>
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
- ******************************************************************** --><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ ******************************************************************** -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:str="http://exslt.org/strings"
+ exclude-result-prefixes="str"
+ version="1.0">
<xsl:template name="dot.count">
<!-- Returns the number of "." characters in a string -->
@@ -52,6 +56,9 @@
<xsl:param name="replacement"/>
<xsl:choose>
+ <xsl:when test="function-available('str:replace')">
+ <xsl:value-of select="str:replace($string, string($target), string($replacement))"/>
+ </xsl:when>
<xsl:when test="contains($string, $target)">
<xsl:variable name="rest">
<xsl:call-template name="string.subst">

View File

@ -1,13 +1,13 @@
NAME="git" NAME="git"
DESC="Free and open source, distributed version control system" DESC="Free and open source, distributed version control system"
VERSION="2.41.0" VERSION="2.44.0"
FILES=( FILES=(
"https://www.kernel.org/pub/software/scm/git/git-${VERSION}.tar.xz" "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" "https://www.kernel.org/pub/software/scm/git/git-manpages-${VERSION}.tar.xz"
) )
HASHES=( HASHES=(
"c1f58a12b891ad73927b8e4a3aa29c7b" "7e4eb7c45e9ba7c90fa51deeea49732f"
"bc7a4c944492c76fc3cd766ce22e826d0241e43792c611d4fdc068e0df545877" "bc7a4c944492c76fc3cd766ce22e826d0241e43792c611d4fdc068e0df545877"
) )

View File

@ -4,7 +4,7 @@ VERSION="0.6.3"
FILES=( FILES=(
"https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-${VERSION}.tgz" "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=( HASHES=(
"103c9828f24820df86e55e7862e28974" "103c9828f24820df86e55e7862e28974"

View File

@ -0,0 +1,14 @@
Submitted By: Thomas Pegg <lnxfreak123 at insightbb dot com>
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