Ticket #3972: 0001-buildsys-fix-bootstrapped-build-on-Solaris-and-syste.patch

File 0001-buildsys-fix-bootstrapped-build-on-Solaris-and-syste.patch, 1.0 KB (added by zaytsev, 4 weeks ago)
  • autogen.sh

    From 85c657402d5618bcc1e21ffbb45f6c31069060bc Mon Sep 17 00:00:00 2001
    From: "Yury V. Zaytsev" <yury@shurup.com>
    Date: Thu, 17 Oct 2024 09:15:29 +0200
    Subject: [PATCH] buildsys: fix bootstrapped build on Solaris and systems with
     LC_ALL != C
    
    Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
    ---
     autogen.sh | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
    diff --git a/autogen.sh b/autogen.sh
    index f17c51a9d..94d8e7c3f 100755
    a b ${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS} 
    1414rm -f INSTALL && ln -s doc/INSTALL . 
    1515 
    1616# Generate po/POTFILES.in 
    17 if ! xgettext -h 2>&1 | grep -e '--keyword=' >/dev/null ; then 
     17if ! xgettext -h 2>&1 | grep -e '--keyword' >/dev/null ; then 
    1818  echo "gettext is unable to extract translations, set XGETTEXT to GNU gettext!" >&2 
     19  touch po/POTFILES.in 
    1920else 
    2021  ${XGETTEXT:-xgettext} --keyword=_ --keyword=N_ --keyword=Q_ --output=- \ 
    2122        `find . -name '*.[ch]'` | ${SED-sed} -ne '/^#:/{s/#://;s/:[0-9]*/\