From 92cc6051c38e4124d0158ffa514af123de9a022f Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 19 Jan 2023 19:24:43 +0100 Subject: [PATCH] got: update to 0.83 --- srcpkgs/got/template | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/srcpkgs/got/template b/srcpkgs/got/template index b41834246727..62c1feebc9c6 100644 --- a/srcpkgs/got/template +++ b/srcpkgs/got/template @@ -1,6 +1,6 @@ # Template file for 'got' pkgname=got -version=0.79 +version=0.83 revision=1 build_style=gnu-configure hostmakedepends="byacc pkg-config" @@ -11,7 +11,14 @@ license="ISC" homepage="https://gameoftrees.org" changelog="https://gameoftrees.org/releases/CHANGES" distfiles="https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz" -checksum="78be1c0a905184ed1cb506468359faf87e4ee86851291b1670439c46bfb3d87c" +checksum="90d854e8e47d21434f2fbd83f749e1ab65f9be6556ed8526a67abf10e52f1bff" +nocross="the template subproject needs to be compiled and executed on the host but produces object files that are used by the cross build." + +post_extract() { + # XXX: doesn't correctly link to libbsd; will be fixed for the next release + (cd template && \ + sed -i.orig 's,sys/queue.h,bsd/sys/queue.h,g' configure parse.[cy]) +} post_install() { sed -n '/Copyright/,/PERFORMANCE/p' got/got.c > LICENSE