From 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Nov 2011 23:15:26 +0000 Subject: Wed Nov 23 23:15:26 UTC 2011 --- community/xloadimage/PKGBUILD | 6 +++--- community/xloadimage/enable-image-types.patch | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'community/xloadimage') 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 # Maintainer: Eric Belanger # Contributor: Link Dupont @@ -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"); + } -- cgit v1.2.3-54-g00ecf