summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-12 20:03:23 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-12 20:03:23 -0300
commit28812757b3d3d86c40f0e49c93deb8a87edb0fd7 (patch)
tree4eff1265b8ba3e2df9434f46ddacf6c726ca7979
parent4d4f4bb9386857aebaa6405aa02f0769215bbcbf (diff)
downloadabslibre-28812757b3d3d86c40f0e49c93deb8a87edb0fd7.tar.gz
abslibre-28812757b3d3d86c40f0e49c93deb8a87edb0fd7.tar.bz2
abslibre-28812757b3d3d86c40f0e49c93deb8a87edb0fd7.zip
rebuild 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
}