summaryrefslogtreecommitdiff
path: root/app-text/enscript/files/enscript-1.6.6-gcc15.patch
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2025-11-02 00:56:34 +0000
committerSam James <sam@gentoo.org>2025-11-24 13:28:04 +0000
commitad23ce1bed55fed2cdb070610c3858be596e28dc (patch)
treeafb9ff5f5f75f5f52cb409d834f49bad40e97ffc /app-text/enscript/files/enscript-1.6.6-gcc15.patch
parentcd0b8120c0e0e3028d37819d8e181e46d920538a (diff)
downloadgentoo-ad23ce1bed55fed2cdb070610c3858be596e28dc.tar.gz
gentoo-ad23ce1bed55fed2cdb070610c3858be596e28dc.tar.bz2
gentoo-ad23ce1bed55fed2cdb070610c3858be596e28dc.zip
app-text/enscript: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/943994 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/44425 Closes: https://github.com/gentoo/gentoo/pull/44425 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/enscript/files/enscript-1.6.6-gcc15.patch')
-rw-r--r--app-text/enscript/files/enscript-1.6.6-gcc15.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-text/enscript/files/enscript-1.6.6-gcc15.patch b/app-text/enscript/files/enscript-1.6.6-gcc15.patch
new file mode 100644
index 000000000000..4d49f930bbdf
--- /dev/null
+++ b/app-text/enscript/files/enscript-1.6.6-gcc15.patch
@@ -0,0 +1,16 @@
+https://sources.debian.org/src/enscript/1.6.5.90-3.2/debian/patches/1096582-gcc-15
+
+--- a/compat/regex.c
++++ b/compat/regex.c
+@@ -336,7 +336,10 @@ typedef char boolean;
+ #define false 0
+ #define true 1
+
+-static int re_match_2_internal ();
++static int re_match_2_internal (struct re_pattern_buffer *bufp,
++ const char *string1, int size1,
++ const char *string2, int size2,
++ int pos, struct re_registers *regs, int stop);
+
+ /* These are the command codes that appear in compiled regular
+ expressions. Some opcodes are followed by argument bytes. A