summaryrefslogtreecommitdiff
path: root/community/freeimage
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-23 00:05:19 -0800
committerroot <root@rshg054.dnsready.net>2013-02-23 00:05:19 -0800
commitc8c918cb8c810e3300e5165f9af7ca8ab9650a59 (patch)
tree319544cd588357463dc03a0e2863c84748c0981c /community/freeimage
parent0ab7960ba6a457b7dd3ed5ede0cdb93e816d29a4 (diff)
Sat Feb 23 00:05:17 PST 2013
Diffstat (limited to 'community/freeimage')
-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