summaryrefslogtreecommitdiff
path: root/community/xloadimage
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
committerroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
commit1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (patch)
tree070846cb6770ab17d394d88c3f0cd3ad3eb89842 /community/xloadimage
parent851ab9aa99e9bda38f88b5f5ade096c9137e11c8 (diff)
Wed Nov 23 23:15:26 UTC 2011
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 b1a2a4aaf..edff1665e 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)
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");
+ }