[arch-commits] Commit in ilmbase/trunk (PKGBUILD ilmbase-2.0.1-no_undefined.patch)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Wed Feb 26 05:47:38 UTC 2014
Date: Wednesday, February 26, 2014 @ 06:47:38
Author: bpiotrowski
Revision: 206429
upgpkg: ilmbase 2.1.0-2
add patch to fix linking issues
Added:
ilmbase/trunk/ilmbase-2.0.1-no_undefined.patch
Modified:
ilmbase/trunk/PKGBUILD
----------------------------------+
PKGBUILD | 13 ++++++++++---
ilmbase-2.0.1-no_undefined.patch | 24 ++++++++++++++++++++++++
2 files changed, 34 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-26 05:29:23 UTC (rev 206428)
+++ PKGBUILD 2014-02-26 05:47:38 UTC (rev 206429)
@@ -3,14 +3,20 @@
pkgname=ilmbase
pkgver=2.1.0
-pkgrel=1
+pkgrel=2
depends=('gcc-libs')
pkgdesc="Base libraries from ILM for OpenEXR"
arch=(i686 x86_64)
url="http://www.openexr.com"
license=('custom')
-source=(http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz)
+source=(http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz
+ ilmbase-2.0.1-no_undefined.patch)
+prepare() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ patch -p1 -i ../ilmbase-2.0.1-no_undefined.patch
+}
+
build() {
cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr
@@ -28,4 +34,5 @@
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
-md5sums=('8ba2f608191ad020e50277d8a3ba0850')
+md5sums=('8ba2f608191ad020e50277d8a3ba0850'
+ '27ff3915e03964f85a9e9fb896a93479')
Added: ilmbase-2.0.1-no_undefined.patch
===================================================================
--- ilmbase-2.0.1-no_undefined.patch (rev 0)
+++ ilmbase-2.0.1-no_undefined.patch 2014-02-26 05:47:38 UTC (rev 206429)
@@ -0,0 +1,24 @@
+diff -up ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined ilmbase-2.0.1/IlmThread/Makefile.am
+--- ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined 2013-06-18 14:51:38.000000000 -0500
++++ ilmbase-2.0.1/IlmThread/Makefile.am 2013-08-28 21:04:25.793391766 -0500
+@@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info
+ if LIB_SUFFIX_EXISTS
+ libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
+ endif
+-libIlmThread_la_LIBADD = ../Iex/libIex.la
++libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
+
+ libIlmThreadincludedir = $(includedir)/OpenEXR
+
+diff -up ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined ilmbase-2.0.1/IlmThread/Makefile.in
+--- ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined 2013-06-18 14:55:24.000000000 -0500
++++ ilmbase-2.0.1/IlmThread/Makefile.in 2013-08-28 21:04:55.395049371 -0500
+@@ -253,7 +253,7 @@ libIlmThread_la_SOURCES = IlmThreadPool.
+
+ libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
+ -no-undefined $(am__append_1)
+-libIlmThread_la_LIBADD = ../Iex/libIex.la
++libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
+ libIlmThreadincludedir = $(includedir)/OpenEXR
+ libIlmThreadinclude_HEADERS = IlmThreadPool.h IlmThread.h \
+ IlmThreadSemaphore.h IlmThreadMutex.h \
More information about the arch-commits
mailing list