Index | Thread | Search

From:
Volker Schlecht <openbsd-ports@schlecht.dev>
Subject:
Re: update misc/brltty to 6.9.1 - Re: Remove misc/brltty?
To:
ports@openbsd.org, Sebastien Marie <semarie@kapouay.eu.org>
Date:
Sat, 13 Jun 2026 23:08:09 +0200

Download raw body.

Thread
On 6/13/26 10:31 PM, Sebastien Marie wrote:
> Here a new attempt to update it to 6.9.1. It doesn't need specific
> changes for llvm22.
> 
> As my previous attempt got no feedback (specially from users with
> hardware), I think we should just update it as "best we can do" and it
> will be better than removing it.

I agree with that. The user that expressed an interest in the port already
pointed out that the port as-is doesn't work with today's hardware anymore,
and giving feedback on an existing, recent version of brltty is probably
easier for potential users, too.

> The diff is mostly an update started from my previous 6.5 attempt. So it
> is still a rewrite of the misc/brltty port.
> 
> Comments or OK ?

* The git rename in the diff is a bit confusing at first :-)
* Adding the attached patch lets us build the "fv" screen-driver as well.

ok volker@ with or without the additional patch.

Index: configure
--- configure.orig
+++ configure
@@ -11318,7 +11318,7 @@ then :
   printf %s "(cached) " >&6
 else case e in #(
   e) ac_check_lib_save_LIBS=$LIBS
-LIBS="-ltinfo  $LIBS"
+LIBS="-lncurses $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -11358,7 +11358,7 @@ if test "x$ac_cv_lib_tinfo_intrflush" = xyes
 then :
   printf "%s\n" "#define HAVE_LIBTINFO 1" >>confdefs.h
 
-  LIBS="-ltinfo $LIBS"
+  LIBS="-lncurses $LIBS"
 
 fi
 
@@ -18989,7 +18989,7 @@ esac
 brltty_item_entries_screen="${brltty_item_entries_screen} fv-FileViewer"
 brltty_item_codes_screen="${brltty_item_codes_screen} fv"
 brltty_item_names_screen="${brltty_item_names_screen} FileViewer"
-screen_libraries_fv='-ltinfo'
+screen_libraries_fv='-lncurses'
 
 brltty_item_entries_screen="${brltty_item_entries_screen} tx-Tmux"
 brltty_item_codes_screen="${brltty_item_codes_screen} tx"