Source: argon2 Version: 0~20171227-0.2 Severity: important Tags: patch ftbfs Justification: fails to build from source (but built successfully in the past)
Hello, argon2 currently FTBFS on kfreebsd The attached patch fixes this, could you please apply it? Kind regards, Laurent Bigonville -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads) Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru argon2-0~20171227/debian/patches/kfreebsd argon2-0~20171227/debian/patches/kfreebsd --- argon2-0~20171227/debian/patches/kfreebsd 1970-01-01 01:00:00.000000000 +0100 +++ argon2-0~20171227/debian/patches/kfreebsd 2022-01-24 16:44:42.000000000 +0100 @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -58,7 +58,7 @@ BUILD_PATH := $(shell pwd) + KERNEL_NAME := $(shell uname -s) + + LIB_NAME=argon2 +-ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),Linux GNU)) ++ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),Linux GNU GNU/kFreeBSD)) + LIB_EXT := so.$(ABI_VERSION) + LIB_CFLAGS := -shared -fPIC -fvisibility=hidden -DA2_VISCTL=1 + SO_LDFLAGS := -Wl,-soname,lib$(LIB_NAME).$(LIB_EXT) diff -Nru argon2-0~20171227/debian/patches/series argon2-0~20171227/debian/patches/series --- argon2-0~20171227/debian/patches/series 2019-01-13 14:20:59.000000000 +0100 +++ argon2-0~20171227/debian/patches/series 2022-01-24 16:42:44.000000000 +0100 @@ -1 +1,2 @@ hurd +kfreebsd