From 57da22003e0e1f56d6688295773a2c23a948fa7c Mon Sep 17 00:00:00 2001 From: edd Date: Thu, 24 Nov 2022 20:06:43 +0000 Subject: [PATCH] textproc/lgrind: Make it build with TeX Live 2022. --- textproc/lgrind/Makefile | 2 +- textproc/lgrind/patches/patch-lgrind_dtx | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/textproc/lgrind/Makefile b/textproc/lgrind/Makefile index 939dfdb94b0..333d55216df 100644 --- a/textproc/lgrind/Makefile +++ b/textproc/lgrind/Makefile @@ -4,7 +4,7 @@ CATEGORIES= textproc devel print VERSION= 3.67 DISTNAME= lgrind-${VERSION} -REVISION = 8 +REVISION = 9 DISTFILES=source/lgrind.c source/lgutil.c source/lgrindef.c source/lgrindef.h \ source/regexp.c source/regexp.h source/v2lg.c \ source/retest.c source/lgrind.1 source/lgrindef.5 source/Makefile \ diff --git a/textproc/lgrind/patches/patch-lgrind_dtx b/textproc/lgrind/patches/patch-lgrind_dtx index 6d79d9c5da5..47f970da18a 100644 --- a/textproc/lgrind/patches/patch-lgrind_dtx +++ b/textproc/lgrind/patches/patch-lgrind_dtx @@ -21,3 +21,12 @@ Index: lgrind.dtx % \title{The \LG{} package\thanks{This file % has version number \fileversion, last % revised \filedate.}} +@@ -537,7 +537,7 @@ + % The meta-symbols and their meanings are: + % \begin{description} + % \item[\$] The end of a line +-% \item[\^] The beginning of a line ++% \item[\^{}] The beginning of a line + % \item[$\backslash$d] A delimiter (space, tab, newline, start of line) + % \item[$\backslash$a] Matches any string of symbols (like `.*' in lex) + % \item[$\backslash$p] Matches any identifier. In a procedure definition