sys-libs/ncurses: Sync with Gentoo

It's from Gentoo commit 190736be5dde352c014202d15a4ee74f583f547f.
This commit is contained in:
Flatcar Buildbot 2024-10-21 07:08:54 +00:00
parent 395f34bc44
commit 94b0543841
5 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff '--color=auto' -ruN ncurses-6.4.orig/aclocal.m4 ncurses-6.4/aclocal.m4
--- ncurses-6.4.orig/aclocal.m4 2024-08-29 20:47:34.978057133 +0000
+++ ncurses-6.4/aclocal.m4 2024-08-29 20:48:57.809473044 +0000
@@ -10139,7 +10139,7 @@
cf_xopen_source="-D_SGI_SOURCE"
cf_XOPEN_SOURCE=
;;
-(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc)
+(linux*gnu*|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc)
CF_GNU_SOURCE($cf_XOPEN_SOURCE)
;;
(minix*)

View File

@ -0,0 +1,12 @@
diff '--color=auto' -ruN ncurses-6.4.orig/configure ncurses-6.4/configure
--- ncurses-6.4.orig/configure 2024-08-29 20:50:18.321117225 +0000
+++ ncurses-6.4/configure 2024-08-29 20:52:49.308328392 +0000
@@ -10413,7 +10413,7 @@
cf_xopen_source="-D_SGI_SOURCE"
cf_XOPEN_SOURCE=
;;
-(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc)
+(linux*gnu*|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc)
cf_gnu_xopen_source=$cf_XOPEN_SOURCE

View File

@ -178,6 +178,10 @@ PATCHES=(
# For the same reasons, please include the original configure.in changes, # For the same reasons, please include the original configure.in changes,
# NOT just the generated results! # NOT just the generated results!
"${WORKDIR}"/${GENTOO_PATCH_NAME} "${WORKDIR}"/${GENTOO_PATCH_NAME}
# Avoid breakage with CHOST ending in t64
"${FILESDIR}"/ncurses-6.4-t64-1.patch
"${FILESDIR}"/ncurses-6.4-t64-2.patch
) )
src_unpack() { src_unpack() {

View File

@ -115,6 +115,10 @@ PATCHES=(
# For the same reasons, please include the original configure.in changes, # For the same reasons, please include the original configure.in changes,
# NOT just the generated results! # NOT just the generated results!
"${WORKDIR}"/${GENTOO_PATCH_NAME} "${WORKDIR}"/${GENTOO_PATCH_NAME}
# Avoid breakage with CHOST ending in t64
"${FILESDIR}"/ncurses-6.4-t64-1.patch
"${FILESDIR}"/ncurses-6.4-t64-2.patch
) )
src_unpack() { src_unpack() {

View File

@ -121,6 +121,10 @@ PATCHES=(
# For the same reasons, please include the original configure.in changes, # For the same reasons, please include the original configure.in changes,
# NOT just the generated results! # NOT just the generated results!
"${WORKDIR}"/${GENTOO_PATCH_NAME} "${WORKDIR}"/${GENTOO_PATCH_NAME}
# Avoid breakage with CHOST ending in t64
"${FILESDIR}"/ncurses-6.4-t64-1.patch
"${FILESDIR}"/ncurses-6.4-t64-2.patch
) )
src_unpack() { src_unpack() {