summaryrefslogtreecommitdiff
path: root/extra/ilmbase
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-28 01:42:55 -0700
committerroot <root@rshg054.dnsready.net>2012-10-28 01:42:55 -0700
commit24d0263a0ac516ccc86df09146449fb040fb3689 (patch)
treef0f189dbe8df340e0b242750c07e426899b4d2c5 /extra/ilmbase
parent869e64b12767be3ef5b1e3628f337a9e116e2bbb (diff)
Sun Oct 28 01:42:24 PDT 2012
Diffstat (limited to 'extra/ilmbase')
-rw-r--r--extra/ilmbase/PKGBUILD24
-rw-r--r--extra/ilmbase/ilmbase-IexMath.patch12
2 files changed, 24 insertions, 12 deletions
diff --git a/extra/ilmbase/PKGBUILD b/extra/ilmbase/PKGBUILD
index fd95d6f4f..fe1618f48 100644
--- a/extra/ilmbase/PKGBUILD
+++ b/extra/ilmbase/PKGBUILD
@@ -2,34 +2,34 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=ilmbase
-pkgver=1.0.2
+pkgver=1.0.3
pkgrel=1
depends=('gcc-libs')
pkgdesc="Base libraries from ILM for OpenEXR"
arch=(i686 x86_64)
+url="http://www.openexr.com"
license=('custom')
options=('!libtool')
-source=(http://savannah.nongnu.org/download/openexr/$pkgname-$pkgver.tar.gz
- tests-compile-fixes.patch)
-url="http://www.openexr.com"
-md5sums=('26c133ee8ca48e1196fbfb3ffe292ab4'
- '2687ab9ac01b417ee5cf8c0174b72e43')
+source=(https://github.com/downloads/openexr/openexr/$pkgname-$pkgver.tar.gz
+ ilmbase-IexMath.patch)
+md5sums=('d99962ec7e2bfac0647aaabf6b91d5de'
+ '9c8efaf15f60bccf79749ec879657962')
build() {
- cd ${srcdir}/$pkgname-$pkgver
- patch -Np1 -i ${srcdir}/tests-compile-fixes.patch
+ cd "${srcdir}/$pkgname-$pkgver"
+ patch -p0 -i "${srcdir}/ilmbase-IexMath.patch"
./configure --prefix=/usr
make
}
check() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/$pkgname-$pkgver"
# one of the tests fails randomly for an unknown reason
make check || true
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
- make DESTDIR=${pkgdir} install
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+ cd "${srcdir}/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
diff --git a/extra/ilmbase/ilmbase-IexMath.patch b/extra/ilmbase/ilmbase-IexMath.patch
new file mode 100644
index 000000000..546034966
--- /dev/null
+++ b/extra/ilmbase/ilmbase-IexMath.patch
@@ -0,0 +1,12 @@
+--- IexMath/IexMathFpu.cpp.orig 2012-07-26 20:51:55.000000000 +0200
++++ IexMath/IexMathFpu.cpp 2012-10-04 15:30:47.000000000 +0200
+@@ -27,8 +27,7 @@
+ #endif
+
+
+-#ifdef HAVE_UCONTEXT_H
+-
++#if defined(HAVE_UCONTEXT_H) && (defined(x86_64) || defined(i386_))
+
+ #include <ucontext.h>
+ #include <signal.h>