wok-current diff giflib/receipt @ rev 19319

Add busybox-httpd-ctrl (fast to: start and stop in menu)
author Leonardo Laporte <hackdorte@sapo.pt>
date Wed Jul 13 11:40:02 2016 -0300 (2016-07-13)
parents 7f076d44fd51
children 86790a278e70
line diff
     1.1 --- a/giflib/receipt	Fri Sep 11 17:21:17 2015 +0000
     1.2 +++ b/giflib/receipt	Wed Jul 13 11:40:02 2016 -0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="giflib"
     1.7 -VERSION="5.1.1"
     1.8 +VERSION="4.1.6" # 17 broken packages after update 
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="A library for processing GIFs."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12 @@ -18,6 +18,23 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 +	# http://anonscm.debian.org/cgit/collab-maint/giflib.git/tree/debian/patches/01-cve.patch?h=debian
    1.17 +	{
    1.18 +	cat <<EOT
    1.19 +@@ -251,0 +252,2 @@
    1.20 ++		FreeMapObject(GifFile->SColorMap);
    1.21 ++                GifFile->SColorMap = NULL;
    1.22 +@@ -348,0 +351,2 @@
    1.23 ++		FreeMapObject(GifFile->Image.ColorMap);
    1.24 ++                GifFile->Image.ColorMap = NULL;
    1.25 +@@ -992,0 +997,4 @@
    1.26 ++        if (Buf[0] == 0) {
    1.27 ++            _GifError = D_GIF_ERR_IMAGE_DEFECT;
    1.28 ++            return GIF_ERROR;
    1.29 ++        }
    1.30 +EOT
    1.31 +	} | patch lib/dgif_lib.c
    1.32 +
    1.33  	sed -i '/AC_PATH_XTRA/d' configure.ac
    1.34  	libtoolize -f
    1.35  	autoreconf