From 0dc27723fe27096b79cd7812b1b1b01d73c67588 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Tue, 23 Jan 2024 00:18:55 +0100 Subject: [PATCH] Update to hello-2.12.1. --- ports/hello/hello.patch | 36 ++++++++++++++++++++++++------------ ports/hello/hello.port | 6 +++--- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/ports/hello/hello.patch b/ports/hello/hello.patch index 6225102e..77143316 100644 --- a/ports/hello/hello.patch +++ b/ports/hello/hello.patch @@ -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); diff --git a/ports/hello/hello.port b/ports/hello/hello.port index 8255e4b4..9abb3351 100644 --- a/ports/hello/hello.port +++ b/ports/hello/hello.port @@ -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'