On Tue, Sep 02, 2025 at 03:55:11PM +0200, Lars Alex Pedersen wrote:
> * COPYING: Copyright years updated
> * COPYING: Cleanup for man/arc4random.3bsd
> * New configure options --enable-sanitize and --enable-year2038
> 
> Signed-off-by: Lars Alex Pedersen <[email protected]>
> ---
>  rules/libbsd.make | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/rules/libbsd.make b/rules/libbsd.make
> index 85e9718e8..f7fbb30e5 100644
> --- a/rules/libbsd.make
> +++ b/rules/libbsd.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBBSD) += libbsd
>  #
>  # Paths and names
>  #
> -LIBBSD_VERSION       := 0.11.7
> -LIBBSD_MD5   := 2c5e63b5bb7771bbe4f572c7788e0bb8
> +LIBBSD_VERSION       := 0.12.2
> +LIBBSD_MD5   := 1aa07d44ee00e2cc1ae3ac10baae7a68
>  LIBBSD               := libbsd-$(LIBBSD_VERSION)
>  LIBBSD_SUFFIX        := tar.xz
>  LIBBSD_URL   := 
> http://libbsd.freedesktop.org/releases/$(LIBBSD).$(LIBBSD_SUFFIX)
> @@ -23,7 +23,7 @@ LIBBSD_SOURCE       := $(SRCDIR)/$(LIBBSD).$(LIBBSD_SUFFIX)
>  LIBBSD_DIR   := $(BUILDDIR)/$(LIBBSD)
>  LIBBSD_LICENSE       := BSD-4-Clause AND BSD-3-Clause AND 
> BSD-2-Clause-NetBSD AND ISC AND MIT AND Beerware AND public_domain
>  LIBBSD_LICENSE_FILES := \
> -     file://COPYING;md5=75e85c5a558f86d10fbd5abc567ea5e6
> +     file://COPYING;md5=9b087a0981a1fcad42efbba6d4925a0f
>  
>  # 
> ----------------------------------------------------------------------------
>  # Prepare
> @@ -38,6 +38,8 @@ LIBBSD_CONF_OPT     := \
>       $(GLOBAL_LARGE_FILE_OPTION) \
>       --enable-shared \
>       --disable-static \
> +     --enable-sanitize \

This will enable the address sanitizer. Not something we want by default.
And --disable-sanitize will do the same because the option is broken :-/

> +     --$(call ptx/endis, PTXDIST_Y2038)-year2038 \

There is a patch that is still relevant. For some reason, this option is
gone after autogen.sh runs....

Michael

>       --with-gnu-ld
>  
>  # 
> ----------------------------------------------------------------------------
> 
> base-commit: df9923bad3649c7149af65eed63735df91e08480
> -- 
> 2.51.0
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to