Skip to content
Snippets Groups Projects
Commit 2d51adbf authored by Sergej Pupykin's avatar Sergej Pupykin
Browse files

package update

parent db98202d
No related branches found
No related tags found
No related merge requests found
......@@ -11,14 +11,11 @@ license=('GPL')
depends=('fltk2' 'libjpeg' 'perl' 'openssl' 'libpng' 'gcc-libs' 'libxcursor'
'libxi' 'libxinerama')
backup=(etc/dillo/{dillorc,dpidrc})
source=(http://www.dillo.org/download/$pkgname-$pkgver.tar.bz2
libpng14.patch)
md5sums=('8875d0188b9281fa2dd683220dcf58a8'
'5336bd3a3b4698c5250ce59e4f2ff91a')
source=(http://www.dillo.org/download/$pkgname-$pkgver.tar.bz2)
md5sums=('8875d0188b9281fa2dd683220dcf58a8')
build() {
cd "$srcdir/$pkgname-$pkgver"
# patch -Np1 -i "$srcdir/libpng14.patch"
./configure --prefix=/usr --sysconfdir=/etc --enable-cookies --enable-dlgui \
--enable-ssl
make
......
diff -upr dillo-2.1.1.orig/src/png.c dillo-2.1.1/src/png.c
--- dillo-2.1.1.orig/src/png.c 2010-01-23 04:09:50.000000000 +0200
+++ dillo-2.1.1/src/png.c 2010-01-23 04:12:34.000000000 +0200
@@ -345,7 +345,7 @@ static void Png_write(DilloPng *png, voi
return; /* need MORE data */
}
/* check the image signature - DON'T update ipbufstart! */
- if (!png_check_sig(png->ipbuf, DATASIZE)) {
+ if (png_sig_cmp(png->ipbuf, 0, DATASIZE)) {
/* you lied to me about it being a PNG image */
MSG_WARN("\"%s\" is not a PNG file.\n", URL_STR(png->url));
png->state = IS_finished;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment