enscript: fix error with gcc-15

* Imported the submitted patch from:
  https://savannah.gnu.org/bugs/?66845
  to fix:
  http://errors.yoctoproject.org/Errors/Details/851187/
  ../../enscript-1.6.6/compat/regex.c:3565:13: error: too many arguments to function 're_match_2_internal'; expected 0, have 8
 3565 |       val = re_match_2_internal (bufp, string1, size1, string2, size2,
      |             ^~~~~~~~~~~~~~~~~~~  ~~~~

* Modified the Upstream-Status since the same content as
  0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch is already in the backport.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
mark.yang
2025-04-08 20:45:01 +09:00
committed by Khem Raj
parent 94819a3e4e
commit c33e08b19f
3 changed files with 35 additions and 1 deletions
@@ -14,6 +14,7 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
file://enscript-autoconf.patch \
file://0001-Fix-builds-with-recent-gettext.patch \
file://0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch \
file://0001-enscript-does-not-build-with-C23-standard.patch \
"
inherit autotools gettext