mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Commit [1] has made ncurses a requirement for building the package.
The added patches fix the following build errors:
/usr/bin/install -c -d ../../../lib
buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-gcc -shared -Wl,-export-dynamic -o ../../../lib/libbrlttyxfv.so screen.o -ltinfo
buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/14.3.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: cannot find -ltinfo: No such file or directory
collect2: error: ld returned 1 exit status
./unicode.c: In function ‘getTransliteratedCharacter’:
./unicode.c:349:27: error: initialization of ‘iconv_t’ {aka ‘long int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
349 | static iconv_t handle = NULL;
| ^~~~
Update README hash:
- v6.8:
- Update the copyright from 2024 to 2025.
- v6.7:
- Update the supported braille devices lists.
- Add support for the HIMS eMotion.
- Add support for HT's Activator Pro models.
- Add support for the KGS Next Touch 40.
- Change the copyright from 2023 to 2024.
- Document that HT's Basic Braille Plus models are supported.
Release notes:
https://github.com/brltty/brltty/blob/BRLTTY-6.8/Documents/ChangeLog
[1] 8f7d65569e
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
59 lines
1.6 KiB
Diff
59 lines
1.6 KiB
Diff
From a4f55ee941fdc94511c72c1831dedcf5bea7935d Mon Sep 17 00:00:00 2001
|
|
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
|
Date: Thu, 30 Oct 2025 16:52:53 +0100
|
|
Subject: [PATCH] configure.ac: link fv driver with -ltinfo only if available
|
|
|
|
During the brltty bump to version 6.8 in Buildroot, the build failed on
|
|
systems without libtinfo:
|
|
|
|
/usr/bin/ld: cannot find -ltinfo: No such file or directory
|
|
|
|
Link libtinfo only if the library is present.
|
|
|
|
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
|
Upstream: https://github.com/brltty/brltty/pull/503
|
|
---
|
|
configure.ac | 11 +++++++++--
|
|
1 file changed, 9 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 68c9c6d1b7f5..5c931f71b79a 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -813,6 +813,7 @@ BRLTTY_ARG_ENABLE(
|
|
])
|
|
AC_SUBST(fuzzer_libs)
|
|
|
|
+have_tinfo="no"
|
|
brltty_curses_libs_save="${LIBS}"
|
|
BRLTTY_PACKAGE_CHOOSE([curses],
|
|
[ncursesw ncursesw/ncurses.h],
|
|
@@ -823,8 +824,10 @@ BRLTTY_PACKAGE_CHOOSE([curses],
|
|
[pdcurses curses.h])
|
|
if test -n "${curses_package}"
|
|
then
|
|
- AC_CHECK_LIB([tinfo], [intrflush])
|
|
+ AC_CHECK_LIB([tinfo], [intrflush],
|
|
+ [have_tinfo="yes"])
|
|
fi
|
|
+
|
|
curses_libs="${LIBS%${brltty_curses_libs_save}}"
|
|
LIBS="${brltty_curses_libs_save}"
|
|
AC_SUBST([curses_libs])
|
|
@@ -1882,7 +1885,11 @@ in
|
|
;;
|
|
esac
|
|
|
|
-BRLTTY_SCREEN_DRIVER([fv], [FileViewer], [-ltinfo])
|
|
+if test "${have_tinfo}" = "yes"; then
|
|
+ BRLTTY_SCREEN_DRIVER([fv], [FileViewer], [-ltinfo])
|
|
+else
|
|
+ BRLTTY_SCREEN_DRIVER([fv], [FileViewer])
|
|
+fi
|
|
|
|
all_brltty_pty=""
|
|
install_brltty_pty=""
|
|
--
|
|
2.43.0
|
|
|