From 021f72b55f062dd6094596ecb2cee055a6ad1a02 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 13 May 2015 17:50:07 +0200 Subject: [PATCH] kona: fix for musl. --- srcpkgs/kona/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template index 24628ea67c6..41a86d06024 100644 --- a/srcpkgs/kona/template +++ b/srcpkgs/kona/template @@ -1,7 +1,7 @@ # Template file for 'kona' pkgname=kona version=3.24 -revision=1 +revision=2 wrksrc="${pkgname}-Win.${version}-64" short_desc="Open-source implementation of the K programming language" maintainer="Christian Neukirchen " @@ -10,6 +10,10 @@ homepage="https://github.com/kevinlawler/kona" distfiles="https://github.com/kevinlawler/${pkgname}/archive/Win.${version}-64.tar.gz" checksum=91b580b1d5cca761b08e27ada02a5bb491552f84054aad89d31aaca8081ee725 +post_extract() { + sed-i '/netdb.h/a#include ' src/incs.h +} + do_build() { make ${makejobs} k \ CC="$CC" PRODFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lm -ldl"