summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2018-05-23 16:57:58 +0200
committerbartus2018-05-23 16:57:58 +0200
commit1171d77744b84f9d097e6c993418825652a29211 (patch)
tree8f27e33059b04c957886c57c63b5dd609ea6ad9f
parentd425449d41d2e19cdc111c54462f9db95831d8d1 (diff)
downloadaur-1171d77744b84f9d097e6c993418825652a29211.tar.gz
fix gcc8 complains about private delete constructor
-rw-r--r--PKGBUILD11
-rw-r--r--gcc8.patch10
2 files changed, 17 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 285464e744c..ca15b446680 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: bartus <aur@bartus.33mail.com>
pkgname=appleseed-git
#_fragment="#tag=1.7.1-beta"
-pkgver=1.9.0.beta.r7.g0ae01d535
+pkgver=1.9.0.beta.r55.g636ef9edb
pkgrel=1
pkgdesc="physically-based global illumination rendering engine primarily designed for animation and visual effects. "
arch=(i686 x86_64)
@@ -13,9 +13,11 @@ depends=(python2 qt4 'seexpr>=2.11' boost openexr opencolorio openimageio 'opens
makedepends=(git cmake)
options=()
source=("${pkgname}::git+https://github.com/appleseedhq/appleseed.git${_fragment}"
- "cmake.extra.install.dirs.remove.patch")
+ "cmake.extra.install.dirs.remove.patch"
+ gcc8.patch)
md5sums=('SKIP'
- '1cc8d927665c126dde4d1135e500c0dc')
+ '1cc8d927665c126dde4d1135e500c0dc'
+ '6e6b997cbfe06e0d74cdc3f74de12324')
CMAKE_FLAGS="-DUSE_EXTERNAL_EXR=ON \
-DUSE_EXTERNAL_OCIO=ON \
@@ -39,7 +41,8 @@ pkgver() {
prepare() {
cd ${pkgname}
- patch -Np1 -i ../cmake.extra.install.dirs.remove.patch
+ git apply -v ../cmake.extra.install.dirs.remove.patch
+ git apply -v ../gcc8.patch
grep -q avx /proc/cpuinfo && CMAKE_FLAGS="${CMAKE_FLAGS} -DUSE_AVX=ON"
grep -q avx2 /proc/cpuinfo && CMAKE_FLAGS="${CMAKE_FLAGS} -DUSE_AVX2=ON"
grep -q sse4_2 /proc/cpuinfo && CMAKE_FLAGS="${CMAKE_FLAGS} -DUSE_SSE42=ON"
diff --git a/gcc8.patch b/gcc8.patch
new file mode 100644
index 00000000000..2065b8c6f10
--- /dev/null
+++ b/gcc8.patch
@@ -0,0 +1,10 @@
+--- orig/appleseed-1.9.0-beta/src/appleseed/renderer/kernel/texturing/oiiotexturesystem.h 2018-05-01 00:27:50.000000000 +0200
++++ appleseed-1.9.0-beta/src/appleseed/renderer/kernel/texturing/oiiotexturesystem.h 2018-05-22 21:24:28.824974453 +0200
+@@ -45,6 +45,7 @@
+
+ private:
+ ~OIIOTextureSystem() override;
++ void operator delete (void*) {}
+ };
+
+ class OIIOTextureSystemFactory