Update to hello-2.12.1.

This commit is contained in:
Jonas 'Sortie' Termansen 2024-01-23 00:18:55 +01:00
parent 5b7ffe763f
commit 0dc27723fe
2 changed files with 27 additions and 15 deletions

View File

@ -1,12 +1,24 @@
diff -Paur --no-dereference -- hello.upstream/build-aux/config.sub hello/build-aux/config.sub
--- hello.upstream/build-aux/config.sub
+++ hello/build-aux/config.sub
@@ -1342,7 +1342,7 @@
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- | -aos* | -aros* \
+ | -aos* | -aros* | -sortix* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
diff -Paur --no-dereference -- hello.upstream/Makefile.in hello/Makefile.in
--- hello.upstream/Makefile.in
+++ hello/Makefile.in
@@ -1773,7 +1773,7 @@
# Subdirectories to descend into.
SUBDIRS = po
hello_SOURCES = src/hello.c src/system.h
-hello_LDADD = $(LIBINTL) $(top_builddir)/lib/lib$(PACKAGE).a
+hello_LDADD = $(top_builddir)/lib/lib$(PACKAGE).a $(LIBINTL)
CLEANFILES = $(am__append_2) lib/configmake.h lib/configmake.h-t
MAINTAINERCLEANFILES = lib/iconv_open-aix.h lib/iconv_open-hpux.h \
lib/iconv_open-irix.h lib/iconv_open-osf.h \
diff -Paur --no-dereference -- hello.upstream/src/hello.c hello/src/hello.c
--- hello.upstream/src/hello.c
+++ hello/src/hello.c
@@ -163,7 +163,7 @@
error (EXIT_FAILURE, errno, _("conversion to a multibyte string failed"));
/* Print greeting message and exit. */
- wprintf (L"%ls\n", mb_greeting);
+ printf ("%ls\n", mb_greeting);
free(mb_greeting);
exit (EXIT_SUCCESS);

View File

@ -1,11 +1,11 @@
NAME=hello
BUILD_LIBRARIES='libiconv? libintl?'
VERSION=2.8
VERSION=2.12.1
DISTNAME=$NAME-$VERSION
COMPRESSION=tar.gz
ARCHIVE=$DISTNAME.$COMPRESSION
SHA256SUM=e6b77f81f7cf7daefad4a9f5b65de6cae9c3f13b8cfbaea8cb53bb5ea5460d73
SHA256SUM=8d99142afd92576f30b0cd7cb42a8dc6809998bc5d607d88761f512e26c7db20
UPSTREAM_SITE=https://ftp.gnu.org/gnu/hello
UPSTREAM_ARCHIVE=$ARCHIVE
LICENSE=GPL-3.0-or-later
BUILD_SYSTEM=configure
CONFIGURE_VARS='gt_cv_locale_fr=false gt_cv_locale_ja=false gt_cv_locale_fr_utf8=false gt_cv_locale_ja_utf8=false gt_cv_locale_tr_utf8=false gt_cv_locale_zh_CN=false'