summaryrefslogtreecommitdiff
path: root/pcr/mitsuba
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mitsuba')
-rw-r--r--pcr/mitsuba/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index b030691a6..7ae5856f8 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -12,7 +12,7 @@ _pkgver=0.5.0
_pkgverM=${_pkgver%.*}
_pkgdat=20140225
_pkgrev=2030
-_pkgrel=5
+_pkgrel=6
_bldname=blender
_bldver=2.71
_bldep=14
@@ -58,6 +58,14 @@ _prepare_mitsuba() {
sed -i 's|free-software/open-source|free-software|
' include/$_pkgname/core/quad.h
+ msg 'fixing headers'
+ sed -i 's|boost/spirit/home/phoenix/bind/bind_member_function.hpp|boost/phoenix/bind/preprocessed/bind_member_function.hpp|
+ s|boost/spirit/home/phoenix/bind/bind_member_variable.hpp|boost/phoenix/bind/bind_member_variable.hpp|
+ s|boost/spirit/home/phoenix/statement/if.hpp|boost/phoenix/statement/if.hpp|
+ ' src/bsdfs/irawan.h
+ sed -i 's|boost/spirit/home/phoenix/statement/if.hpp|boost/phoenix/statement/if.hpp|
+ ' src/bsdfs/irawan.cpp
+
[[ -d build ]] && rm -vr build
mkdir -v build
}