summaryrefslogtreecommitdiff
path: root/community/ziproxy
diff options
context:
space:
mode:
Diffstat (limited to 'community/ziproxy')
-rw-r--r--community/ziproxy/PKGBUILD6
-rw-r--r--community/ziproxy/build-fix.patch13
2 files changed, 14 insertions, 5 deletions
diff --git a/community/ziproxy/PKGBUILD b/community/ziproxy/PKGBUILD
index a9003f6dc..b7deb83f3 100644
--- a/community/ziproxy/PKGBUILD
+++ b/community/ziproxy/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 102371 2013-12-09 14:56:17Z spupykin $
+# $Id: PKGBUILD 113171 2014-06-14 19:22:25Z andyrtr $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Yejun Yang yejunx AT gmail DOT com
pkgname=ziproxy
pkgver=3.3.0
-pkgrel=4
+pkgrel=5
pkgdesc="forwarding, non-caching, compressing HTTP proxy server"
arch=('i686' 'x86_64')
url="http://ziproxy.sourceforge.net/"
@@ -31,7 +31,7 @@ source=(http://downloads.sourceforge.net/project/ziproxy/ziproxy/ziproxy-$pkgver
md5sums=('a8fda01591d455bb23c64c9c5ed3980d'
'feb35264391c790cedd5e995182b5ff5'
'3d2f9208b5ab6738c136049e1fd2e433'
- '0eb798863234ee0e9066812ef2a73539')
+ '0cc338d537e09c2d643283389b6cac06')
prepare() {
cd $srcdir/$pkgname-$pkgver
diff --git a/community/ziproxy/build-fix.patch b/community/ziproxy/build-fix.patch
index fb23953b6..c8667f0fc 100644
--- a/community/ziproxy/build-fix.patch
+++ b/community/ziproxy/build-fix.patch
@@ -1,6 +1,6 @@
-diff -wbBur ziproxy-3.3.0/src/image.c ziproxy-3.3.0.q/src/image.c
+diff -wbBur ziproxy-3.3.0/src/image.c ziproxy-3.3.0.my/src/image.c
--- ziproxy-3.3.0/src/image.c 2013-01-04 20:48:50.000000000 +0400
-+++ ziproxy-3.3.0.q/src/image.c 2013-08-11 00:24:03.868670477 +0400
++++ ziproxy-3.3.0.my/src/image.c 2014-05-29 18:52:52.980657105 +0400
@@ -93,6 +93,10 @@
#define MIN_INSIZE_TO_JPEG 600
#define MIN_INSIZE_TO_JP2K 800
@@ -21,3 +21,12 @@ diff -wbBur ziproxy-3.3.0/src/image.c ziproxy-3.3.0.q/src/image.c
return( IMG_RET_ERR_UNKNOWN + IMG_RET_FLG_WHILE_DECOMP);//more possible reasons
bmp = new_raw_bitmap();
+@@ -1083,7 +1087,7 @@
+ }
+ bmp->pal_bpp = bmp->bpp;
+
+- DGifCloseFile(GifFile);
++ DGifCloseFile(GifFile, NULL);
+ return IMG_RET_OK;
+ }
+