diff --git a/app-arch/sharutils/patches/sharutils-4.15.2.patchset b/app-arch/sharutils/patches/sharutils-4.15.2.patchset index 27d5ba073..50f30cd4e 100644 --- a/app-arch/sharutils/patches/sharutils-4.15.2.patchset +++ b/app-arch/sharutils/patches/sharutils-4.15.2.patchset @@ -1,4 +1,4 @@ -From 1cc78ef9ae5f3dd70980064338945500cb5b2b22 Mon Sep 17 00:00:00 2001 +From 0edd0c857858745b74c21ddd6d9663baa5663eed Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 2 Jun 2015 17:09:25 +0000 Subject: Haiku patch @@ -42,7 +42,7 @@ index 0621c99..18d103a 100644 #if HAVE_LOCALE_H #else diff --git a/src/uuencode.c b/src/uuencode.c -index c651798..907da87 100644 +index c651798..704ffef 100644 --- a/src/uuencode.c +++ b/src/uuencode.c @@ -64,6 +64,8 @@ static const char cright_years_z[] = @@ -54,6 +54,15 @@ index c651798..907da87 100644 #if HAVE_LOCALE_H #else # define setlocale(Category, Locale) +@@ -251,7 +253,7 @@ process_opts (int argc, char ** argv, int * mode) + if (HAVE_OPT(ENCODE_FILE_NAME)) + { + size_t nmlen = strlen (output_name); +- size_t bfsz = nmlen + (nmlen / 3) + 4;; ++ size_t bfsz = nmlen + (nmlen / 3) + 4; + char * p = malloc (bfsz); + if (p == NULL) + fserr (UUENCODE_EXIT_FAILURE, "malloc", _("file name")); -- -1.8.3.4 +2.2.2 diff --git a/app-arch/sharutils/sharutils-4.15.2.recipe b/app-arch/sharutils/sharutils-4.15.2.recipe index c34bfc107..38cfe0d0f 100644 --- a/app-arch/sharutils/sharutils-4.15.2.recipe +++ b/app-arch/sharutils/sharutils-4.15.2.recipe @@ -16,7 +16,7 @@ shell. unshar may also process files containing concatenated shell archives." HOMEPAGE="http://www.gnu.org/software/sharutils/" COPYRIGHT="1990-2013 Free Software Foundation, Inc." LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="http://ftp.gnu.org/gnu/sharutils/sharutils-$portVersion.tar.gz" CHECKSUM_SHA256="ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637" PATCHES="sharutils-$portVersion.patchset" @@ -52,6 +52,7 @@ BUILD() { runConfigure ./configure \ --disable-nls + echo "#define HAVE_STDBOOL_H 1" >> config.h make }