On Tue, 10 Oct 2023 09:25:13 +0200, Baptiste Daroussin wrote:
> 
> The branch main has been updated by bapt:
> 
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=bb63e82e8c109156b31e806fac8ecefbd259a0ed
> 
> commit bb63e82e8c109156b31e806fac8ecefbd259a0ed
> Author:     Baptiste Daroussin <b...@freebsd.org>
> AuthorDate: 2023-10-10 07:24:25 +0000
> Commit:     Baptiste Daroussin <b...@freebsd.org>
> CommitDate: 2023-10-10 07:24:25 +0000
> 
>     bsddialog(1): document the replacement of dialog(1)
> ---
>  RELNOTES |  3 +++
>  UPDATING | 10 ++++++++++
>  2 files changed, 13 insertions(+)
> 
> diff --git a/RELNOTES b/RELNOTES
> index c5686a4f30fb..880cec5d3fe1 100644
> --- a/RELNOTES
> +++ b/RELNOTES
> @@ -10,6 +10,9 @@ newline.  Entries should be separated by a newline.
>  
>  Changes to this file should not be MFCed.
>  
> +ff01d71e48d4:
> +     dialog(1) has been replace by bsddialog(1)
> +
>  41582f28ddf7:
>       FreeBSD 15.0 will not include support for 32-bit platforms.
>       However, 64-bit systems will still be able to run older 32-bit
> diff --git a/UPDATING b/UPDATING
> index a1bcecadd357..0064e53c7a53 100644
> --- a/UPDATING
> +++ b/UPDATING
> @@ -27,6 +27,16 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
>       world, or to merely disable the most expensive debugging functionality
>       at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
>  
> +20231010:
> +     dialog(1) has been replaced in base by bsddialog(1), while most of the
> +     time replacing a dialog(1) call by a bsddialog(1) call works out of the
> +     box, bsddialog(1) is not considered as a drop-in replacement dialog(1).
> +
> +     If you do depend on dialog(1) functionnality, please install cdialog
> +     from ports:
> +
> +     pkg install cdialog
> +
>  20230927:
>       The EARLY_AP_STARTUP kernel option is mandatory on x86.  The option
>       has been added to DEFAULTS, so it should automatically be included in

This breaks ports-mgmt/dialog4ports.

Installing devel/cdialog (via pkg) and patching
work/dialog4ports-0.1.6/Makefile obviously resolves this issue:

-LDADD+=        -ldialog
+LDADD+=        -L/usr/local/lib -lcdialog

Or is the port obsolete/to be replaced?

--
Herbert

Reply via email to