summaryrefslogtreecommitdiff
path: root/community/xloadimage
diff options
context:
space:
mode:
Diffstat (limited to 'community/xloadimage')
-rw-r--r--community/xloadimage/PKGBUILD6
-rw-r--r--community/xloadimage/enable-image-types.patch11
2 files changed, 14 insertions, 3 deletions
diff --git a/community/xloadimage/PKGBUILD b/community/xloadimage/PKGBUILD
index 091609005..0d1cc9b3f 100644
--- a/community/xloadimage/PKGBUILD
+++ b/community/xloadimage/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 39571 2011-02-11 16:14:42Z spupykin $
+# $Id: PKGBUILD 59105 2011-11-21 10:35:15Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Link Dupont <link@subpop.net>
@@ -12,13 +12,13 @@ arch=(i686 x86_64 'mips64el')
url="http://sioseis.ucsd.edu/xloadimage.html"
license=("MIT")
depends=('libtiff' 'libpng' 'libx11' 'libxext')
-makedepends=('patch')
+makedepends=('patch' 'imake')
source=(http://archlinux-stuff.googlecode.com/files/xloadimage.$pkgver-1.tar.gz
license.txt
enable-image-types.patch)
md5sums=('86b42b1b628a9c00008b7deec21e1175'
'cc16a51aeb5083b8ff07939dfe244130'
- '33eadf10ce627cc1bf0db351a49e6cca')
+ '3a2703925011276fd2d2bd139b676487')
build() {
cd $srcdir/$pkgname.$pkgver
diff --git a/community/xloadimage/enable-image-types.patch b/community/xloadimage/enable-image-types.patch
index c720c7dd1..b61e36b87 100644
--- a/community/xloadimage/enable-image-types.patch
+++ b/community/xloadimage/enable-image-types.patch
@@ -61,3 +61,14 @@ diff -wbBur xloadimage.4.1/png.c xloadimage.4.1.my/png.c
#include "image.h" /* xloadimage declarations */
#ifdef HAVE_LIBPNG
+diff -wbBur xloadimage.4.1/jpeg.c xloadimage.4.1.my/jpeg.c
+--- xloadimage.4.1/jpeg.c 2011-02-11 14:47:37.000000000 +0300
++++ xloadimage.4.1.my/jpeg.c 2011-11-21 14:32:30.000000000 +0400
+@@ -319,6 +319,7 @@
+ if (verbose)
+ printf(" Using arithmetic coding.\n");
+ cinfo->arith_code = TRUE;
++ }
+ #else
+ fprintf(stderr, "jpegDump: sorry, arithmetic coding not supported\n");
+ }