kumquat-buildroot/package/rhash/0001-Fix-243-Incorrect-assigment-in-the-configure-script.patch
Fabrice Fontaine d2c99d32bf package/rhash: fix NLS build
Fix the following NLS build failure raised since bump to version 1.4.4
in commit f9b465c66c:

./configure: line 879: -lintl: command not found

[...]

/home/buildroot/autobuild/run/instance-0/output-1/host/bin/xtensa-linux-gcc calc_sums.o hash_print.o common_func.o hash_update.o file.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o librhash/librhash.so.1.4.4   -o rhash
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/12.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: calc_sums.o:(.literal.rename_file_by_embeding_crc32+0x10): undefined reference to `libintl_gettext'

Fixes: f9b465c66c
 - http://autobuild.buildroot.org/results/f8dd8ea6c0c9cd428355e3720e679a078b8e0f8f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-03-01 19:06:24 +01:00

25 lines
984 B
Diff

From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001
From: Aleksey Kravchenko <rhash.admin@gmail.com>
Date: Mon, 7 Aug 2023 01:00:37 +0300
Subject: [PATCH] Fix #243: Incorrect assigment in the configure script
Upstream: https://github.com/rhash/RHash/commit/c804982d1b24c6533118b3068d2cfdca685076f3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 39ef8c1..63cbd8d 100755
--- a/configure
+++ b/configure
@@ -877,7 +877,7 @@ if test "$OPT_STATIC" = "no"; then
RHASH_TEST_OPTIONS=--shared
test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes
test "$INSTALL_LIB_STATIC" = "yes" && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)"
- RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS
+ RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS)
else
LIBRHASH_TYPE=static
LIBRHASH_PATH="\$(LIBRHASH_STATIC)"