summaryrefslogtreecommitdiff
path: root/community/freeimage/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freeimage/PKGBUILD')
-rw-r--r--community/freeimage/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/freeimage/PKGBUILD b/community/freeimage/PKGBUILD
index 817429c57..3d9a9d58e 100644
--- a/community/freeimage/PKGBUILD
+++ b/community/freeimage/PKGBUILD
@@ -5,8 +5,8 @@
# Contributor: scippio <scippio@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 @@ url="http://freeimage.sourceforge.net/"
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 @@ build() {
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