Update package version to 6.5
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
name: ncurses
|
name: ncurses
|
||||||
description: System V Release 4.0 curses emulation library
|
description: System V Release 4.0 curses emulation library
|
||||||
version: 6.4-20230520
|
version: 6.5
|
||||||
revision: 2
|
|
||||||
url: https://invisible-island.net/ncurses/ncurses.html
|
url: https://invisible-island.net/ncurses/ncurses.html
|
||||||
license: MIT-open-group
|
license: MIT-open-group
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc"]
|
depends: ["glibc"]
|
||||||
make_depends: ["bash","binutils","coreutils","diffutils","gawk","gcc","glibc","grep","make","patch","sed"]
|
optional_depends: ["bash"]
|
||||||
|
make_depends: ["gcc"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -0,0 +1,58 @@
|
|||||||
|
diff -ruN a/c++/Makefile.in b/c++/Makefile.in
|
||||||
|
--- a/c++/Makefile.in 2021-07-03 20:53:57.000000000 +0200
|
||||||
|
+++ b/c++/Makefile.in 2021-11-03 10:58:04.147647447 +0100
|
||||||
|
@@ -118,7 +118,7 @@
|
||||||
|
-l@FORM_NAME@@USE_LIB_SUFFIX@ \
|
||||||
|
-l@MENU_NAME@@USE_LIB_SUFFIX@ \
|
||||||
|
-l@PANEL_NAME@@USE_LIB_SUFFIX@ \
|
||||||
|
- -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
|
||||||
|
+ -lncurses@USE_LIB_SUFFIX@
|
||||||
|
|
||||||
|
LIBROOT = ncurses++
|
||||||
|
|
||||||
|
@@ -157,8 +157,7 @@
|
||||||
|
LDFLAGS_DEFAULT = $(LINK_@DFT_UPR_MODEL@) $(LDFLAGS_@DFT_UPR_MODEL@)
|
||||||
|
|
||||||
|
# flags for library built by this makefile
|
||||||
|
-LDFLAGS = $(TEST_ARGS) @LDFLAGS@ \
|
||||||
|
- @LD_MODEL@ $(TEST_LIBS) @LIBS@ $(CXXLIBS)
|
||||||
|
+LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ $(CXXLIBS)
|
||||||
|
|
||||||
|
AUTO_SRC = \
|
||||||
|
etip.h
|
||||||
|
diff -ruN a/form/Makefile.in b/form/Makefile.in
|
||||||
|
--- a/form/Makefile.in 2021-07-03 17:45:33.000000000 +0200
|
||||||
|
+++ b/form/Makefile.in 2021-11-03 10:58:45.301114373 +0100
|
||||||
|
@@ -110,7 +110,7 @@
|
||||||
|
LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
|
||||||
|
|
||||||
|
SHLIB_DIRS = -L../lib
|
||||||
|
-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
|
||||||
|
+SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@
|
||||||
|
|
||||||
|
RPATH_LIST = @RPATH_LIST@
|
||||||
|
RESULTING_SYMS = @RESULTING_SYMS@
|
||||||
|
diff -ruN a/menu/Makefile.in b/menu/Makefile.in
|
||||||
|
--- a/menu/Makefile.in 2021-07-03 17:45:33.000000000 +0200
|
||||||
|
+++ b/menu/Makefile.in 2021-11-03 10:58:59.461160284 +0100
|
||||||
|
@@ -110,7 +110,7 @@
|
||||||
|
LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
|
||||||
|
|
||||||
|
SHLIB_DIRS = -L../lib
|
||||||
|
-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
|
||||||
|
+SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@
|
||||||
|
|
||||||
|
RPATH_LIST = @RPATH_LIST@
|
||||||
|
RESULTING_SYMS = @RESULTING_SYMS@
|
||||||
|
diff -ruN a/panel/Makefile.in b/panel/Makefile.in
|
||||||
|
--- a/panel/Makefile.in 2021-07-03 17:45:33.000000000 +0200
|
||||||
|
+++ b/panel/Makefile.in 2021-11-03 10:59:33.957938691 +0100
|
||||||
|
@@ -112,7 +112,7 @@
|
||||||
|
LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
|
||||||
|
|
||||||
|
SHLIB_DIRS = -L../lib
|
||||||
|
-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
|
||||||
|
+SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@
|
||||||
|
|
||||||
|
RPATH_LIST = @RPATH_LIST@
|
||||||
|
RESULTING_SYMS = @RESULTING_SYMS@
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
diff -ruN a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
|
||||||
|
--- a/misc/gen-pkgconfig.in 2021-08-07 23:36:33.000000000 +0200
|
||||||
|
+++ b/misc/gen-pkgconfig.in 2021-11-03 11:12:51.127160950 +0100
|
||||||
|
@@ -83,7 +83,7 @@
|
||||||
|
fi
|
||||||
|
|
||||||
|
lib_flags=
|
||||||
|
-for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@
|
||||||
|
+for opt in -L$libdir @LIBS@
|
||||||
|
do
|
||||||
|
case $opt in
|
||||||
|
-l*) # LIBS is handled specially below
|
||||||
|
diff -ruN a/misc/ncurses-config.in b/misc/ncurses-config.in
|
||||||
|
--- a/misc/ncurses-config.in 2021-08-07 23:36:14.000000000 +0200
|
||||||
|
+++ b/misc/ncurses-config.in 2021-11-03 11:26:12.393533954 +0100
|
||||||
|
@@ -101,7 +101,7 @@
|
||||||
|
# There is no portable way to find the list of standard library directories.
|
||||||
|
# Require a POSIX shell anyway, to keep this simple.
|
||||||
|
lib_flags=
|
||||||
|
-for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ $LIBS
|
||||||
|
+for opt in -L$libdir $LIBS
|
||||||
|
do
|
||||||
|
case $opt in
|
||||||
|
-specs*) # ignore linker specs-files which were used to build library
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://anduin.linuxfromscratch.org/LFS/ncurses-${BPM_PKG_VERSION}.tar.xz"
|
DOWNLOAD="https://ftp.gnu.org/gnu/ncurses/ncurses-${BPM_PKG_VERSION}.tar.gz"
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
FILENAME="${DOWNLOAD##*/}"
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
# The prepare function is executed in the root of the temp directory
|
||||||
@@ -10,11 +10,16 @@ FILENAME="${DOWNLOAD##*/}"
|
|||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
wget "$DOWNLOAD"
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||||
|
|
||||||
|
cd "$BPM_SOURCE"
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/ncurses-6.3-libs.patch # Do not link against test libraries
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/ncurses-6.3-pkgconfig.patch # Do not leak build-time LDFLAGS into the pkgconfig files
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
export CFLAGS="${CFLAGS} --std=gnu17"
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
|
|||||||
Reference in New Issue
Block a user