From d2da27882ca948685e1f5dcf163a075cb7d26cfd Mon Sep 17 00:00:00 2001
From: Christian Neukirchen <chneukirchen@gmail.com>
Date: Sat, 20 Jun 2015 20:18:40 +0200
Subject: [PATCH] python-llfuse: fix for musl.

---
 srcpkgs/python-llfuse/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/python-llfuse/template b/srcpkgs/python-llfuse/template
index bb28b6a1fcf..f75de1e99bc 100644
--- a/srcpkgs/python-llfuse/template
+++ b/srcpkgs/python-llfuse/template
@@ -1,7 +1,7 @@
 # Template file for 'python-llfuse'
 pkgname=python-llfuse
 version=0.40
-revision=1
+revision=2
 wrksrc="llfuse-${version}"
 build_style=python-module
 python_versions="2.7 3.4"
@@ -16,6 +16,10 @@ homepage="https://bitbucket.org/nikratio/python-llfuse/"
 distfiles="https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-${version}.tar.bz2"
 checksum=ee8b1125a6f2ab904d617d7602d86c0e3f69e40316cb1ae3abc33c218d3da857
 
+post_extract() {
+	sed -i 's/__gnu_linux__/__linux__/g' src/llfuse/capi.c
+}
+
 python3.4-llfuse_package() {
 	depends="python3.4"
 	pycompile_version="3.4"