[arch-commits] Commit in openexr/trunk (PKGBUILD gcc43.patch gcc43.patch)

Andrea Scarpino andrea at archlinux.org
Mon May 2 06:42:29 UTC 2011


    Date: Monday, May 2, 2011 @ 02:42:28
  Author: andrea
Revision: 122097

upgpkg: openexr 1.7.0-1
upstream release

Added:
  openexr/trunk/gcc43.patch
Modified:
  openexr/trunk/PKGBUILD
Deleted:
  openexr/trunk/gcc43.patch

-------------+
 PKGBUILD    |   30 ++++++++++++++++++------------
 gcc43.patch |   33 +++++++++++----------------------
 2 files changed, 29 insertions(+), 34 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-02 06:42:05 UTC (rev 122096)
+++ PKGBUILD	2011-05-02 06:42:28 UTC (rev 122097)
@@ -2,22 +2,28 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=openexr
-pkgver=1.6.1
+pkgver=1.7.0
 pkgrel=1
+pkgdesc="An high dynamic-range image file format library"
+url="http://www.openexr.com/"
+arch=('i686' 'x86_64')
+license=('BSD')
 depends=('zlib' 'ilmbase')
-pkgdesc="openexr library for EXR images"
-arch=(i686 x86_64)
 options=('!libtool')
-license=('custom')
-source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz" 'gcc43.patch')
-url="http://www.openexr.org"
-md5sums=('11951f164f9c872b183df75e66de145a' '7c83ee3d69ad688142e7de63cb68e70a')
+source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'gcc43.patch')
+md5sums=('27113284f7d26a58f853c346e0851d7a'
+         'd91fae759053a70bcedcf02eb33ca4a2')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  patch -p1 -i $srcdir/gcc43.patch || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p0 -i ${srcdir}/gcc43.patch
   ./configure --prefix=/usr
-  make || return 1
-  make DESTDIR=$startdir/pkg install
-  install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: gcc43.patch
===================================================================
--- gcc43.patch	2011-05-02 06:42:05 UTC (rev 122096)
+++ gcc43.patch	2011-05-02 06:42:28 UTC (rev 122097)
@@ -1,22 +0,0 @@
-diff -Nura openexr-1.6.1/exrenvmap/main.cpp openexr-1.6.1.new/exrenvmap/main.cpp
---- openexr-1.6.1/exrenvmap/main.cpp	2007-04-25 03:07:51.000000000 +0200
-+++ openexr-1.6.1.new/exrenvmap/main.cpp	2008-10-30 17:18:13.000000000 +0100
-@@ -45,6 +45,7 @@
- #include <iostream>
- #include <exception>
- #include <stdlib.h>
-+#include <string.h>
- 
- using namespace Imf;
- using namespace std;
-diff -Nura openexr-1.6.1/exrmaketiled/main.cpp openexr-1.6.1.new/exrmaketiled/main.cpp
---- openexr-1.6.1/exrmaketiled/main.cpp	2007-04-25 03:08:45.000000000 +0200
-+++ openexr-1.6.1.new/exrmaketiled/main.cpp	2008-10-30 17:18:40.000000000 +0100
-@@ -46,6 +46,7 @@
- #include <exception>
- #include <string>
- #include <stdlib.h>
-+#include <string.h>
- 
- using namespace Imf;
- using namespace std;

Added: gcc43.patch
===================================================================
--- gcc43.patch	                        (rev 0)
+++ gcc43.patch	2011-05-02 06:42:28 UTC (rev 122097)
@@ -0,0 +1,11 @@
+--- exrenvmap/blurImage.cpp
++++ exrenvmap/blurImage.cpp
+@@ -39,6 +39,8 @@
+ //
+ //-----------------------------------------------------------------------------
+ 
++#include <cstring>
++
+ #include <blurImage.h>
+ 
+ #include <resizeImage.h>




More information about the arch-commits mailing list