From 04a09c406356784fe3281c4cf37bf3eec0a07715 Mon Sep 17 00:00:00 2001 From: lemmi Date: Wed, 25 Jan 2017 00:14:06 +0100 Subject: [PATCH] moreutils: update to 0.60. --- srcpkgs/moreutils/patches/linker.patch | 11 +++++++++++ srcpkgs/moreutils/template | 9 ++++----- 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/moreutils/patches/linker.patch diff --git a/srcpkgs/moreutils/patches/linker.patch b/srcpkgs/moreutils/patches/linker.patch new file mode 100644 index 0000000000..16b313b2ef --- /dev/null +++ b/srcpkgs/moreutils/patches/linker.patch @@ -0,0 +1,11 @@ +--- is_utf8/Makefile ++++ is_utf8/Makefile +@@ -41,7 +41,7 @@ CC = gcc + CFLAGS = -O3 -Wextra -Wall -ansi -Wstrict-prototypes + + $(NAME): $(OBJ) +- $(CC) $(CFLAGS) -o $(NAME) $(OBJ) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(NAME) $(OBJ) $(LOADLIBES) $(LDLIBS) + + IS_UTF8_LIB: + $(CC) --shared -fPIC $(CFLAGS) $(LIB_SRC) -o $(LINKERNAME) diff --git a/srcpkgs/moreutils/template b/srcpkgs/moreutils/template index 23381c7acf..ad3d04cd93 100644 --- a/srcpkgs/moreutils/template +++ b/srcpkgs/moreutils/template @@ -1,9 +1,8 @@ # Template file for 'moreutils' pkgname=moreutils -version=0.59 -revision=2 +version=0.60 +revision=1 build_style=gnu-makefile -wrksrc="${pkgname}-${version}.orig" make_build_args="DOCBOOK2XMAN=docbook2man" hostmakedepends="docbook2x" depends="perl perl-IPC-Run perl-TimeDate" @@ -11,8 +10,8 @@ short_desc="Unix tools that nobody thought to write, when Unix was young" maintainer="lemmi " license="GPL-2" homepage="https://joeyh.name/code/moreutils/" -distfiles="${DEBIAN_SITE}/main/m/moreutils/moreutils_${version}.orig.tar.gz" -checksum=a48e11c3197bf79a7bfaa121423e64626e3381d9fedc91d606e9724ae498d1b4 +distfiles="${DEBIAN_SITE}/main/m/moreutils/moreutils_${version}.orig.tar.xz" +checksum=e42d18bacbd2d003779a55fb3542befa5d1d217ee37c1874e8c497581ebc17c5 post_install() { # rename parallel to not conflict with gnu-parllel