From 38124af610804446b4d9dee344f6e289f58cd57d Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 16 May 2017 12:59:42 +0200 Subject: [PATCH] halibut: update to 1.2. --- srcpkgs/halibut/patches/pie.patch | 11 +++++++++++ srcpkgs/halibut/template | 15 +++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 srcpkgs/halibut/patches/pie.patch diff --git a/srcpkgs/halibut/patches/pie.patch b/srcpkgs/halibut/patches/pie.patch new file mode 100644 index 00000000000..59e4ac9858d --- /dev/null +++ b/srcpkgs/halibut/patches/pie.patch @@ -0,0 +1,11 @@ +--- Makefile.orig ++++ Makefile +@@ -110,7 +110,7 @@ + $(CC) $(CFLAGS) -MD -c $< + + version.o: FORCE +- $(CC) $(VDEF) -MD -c $(SRC)version.c ++ $(CC) $(CFLAGS) $(VDEF) -MD -c $(SRC)version.c + + spotless:: clean + rm -f *.d diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template index c1230925979..5d33d6d5207 100644 --- a/srcpkgs/halibut/template +++ b/srcpkgs/halibut/template @@ -1,21 +1,20 @@ # Template file for 'halibut' pkgname=halibut -version=1.1 -revision=5 +version=1.2 +revision=1 build_style=gnu-makefile -CFLAGS='-I../charset -I../build' -disable_parallel_build=yes hostmakedepends="perl" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" halibut" fi short_desc="Yet another free document preparation system" -maintainer="Christian Neukirchen " +maintainer="Leah Neukirchen " license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/" -distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=b964950d11ed09d3af28ac095da539613f6e50d650f01fe72b4ae752724c80a0 -nopie=yes # segfaults on x86_64-musl +distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz" +checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f + +CFLAGS='-I../charset -I../build' pre_build() { export LIBS="$LDFLAGS"