[arch-commits] Commit in freeimage/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Fri Feb 22 09:58:46 UTC 2013


    Date: Friday, February 22, 2013 @ 10:58:46
  Author: svenstaro
Revision: 84690

upgpkg: freeimage 3.15.4-1

Updating to 3.15.4

Modified:
  freeimage/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-22 09:36:08 UTC (rev 84689)
+++ PKGBUILD	2013-02-22 09:58:46 UTC (rev 84690)
@@ -5,8 +5,8 @@
 # Contributor: scippio <scippio at berounet.cz>
 
 pkgname=freeimage
-pkgver=3.15.3
-pkgrel=2
+pkgver=3.15.4
+pkgrel=1
 pkgdesc="Library project for developers who would like to support popular graphics image formats"
 arch=('i686' 'x86_64')
 license=('GPL' 'custom:FIPL')
@@ -14,7 +14,7 @@
 depends=('gcc-libs')
 makedepends=('dos2unix')
 source=("http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
-md5sums=('6c305b4086500ff8541c596ea6fc7cd7')
+md5sums=('9f9a3b2c3c1b4fd24fe479e8aaee86b1')
 
 build() {
   cp -r FreeImage FreeImagefip
@@ -23,15 +23,17 @@
   export CXXFLAGS="$CXXFLAGS -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS"
 
   cd FreeImage
+  sed -i "1 i #include <cstring>" Source/OpenEXR/IlmImf/ImfAutoArray.h
   make
 
   cd ${srcdir}/FreeImagefip
+  sed -i "1 i #include <cstring>" Source/OpenEXR/IlmImf/ImfAutoArray.h
   make -f Makefile.fip 
 }
 
 package() {
   cd FreeImage
-  make DESTDIR=${pkgdir} install || true
+  make DESTDIR=${pkgdir} install
 
   cd ${srcdir}/FreeImagefip
   make -f Makefile.fip DESTDIR=${pkgdir} install




More information about the arch-commits mailing list