summaryrefslogtreecommitdiff
path: root/community/freeimage
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-23 10:32:13 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-23 10:32:13 +0100
commitcc98017bbad1f9abb4fd76c68a158f356926a164 (patch)
tree1c3bb2e1c6bf899d35d5b7f58e798a4d9d63e1d1 /community/freeimage
parent40ee6ff3cb6c8b9b90e75463ce9dc37bdcd0d79b (diff)
parentc8c918cb8c810e3300e5165f9af7ca8ab9650a59 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/freeimage/PKGBUILD extra/php/PKGBUILD
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 864c89613..1a3a5837e 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.1
+pkgver=3.15.4
+pkgrel=1
pkgdesc="Library project for developers who would like to support popular graphics image formats"
arch=('i686' 'x86_64' 'mips64el')
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() {
if [ "$CARCH" != "i686" ] ; then
@@ -30,15 +30,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