[php-maint] Bug#766972: Bug#766972: php5-gd: Incorrect display libjpeg version

Ondřej Surý ondrej at sury.org
Wed Oct 29 13:20:08 UTC 2014


Control: severity -1 minor
Control: fixed -1 php5/5.6.2+dfsg-1

I don't see how is this "important" bug. The patch is minor though, so I
might include it in proposed-updates, but it will take a while.

Cheers,
Ondrej

On Mon, Oct 27, 2014, at 09:56, Roman Vasilev wrote:
> Package: php5-gd
> Version: 5.4.4-14+deb7u14
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
>     Problem with phpinfo() display libjpeg version:
> 
>     Actual result:
> 
>     root at eurosmed ~ # php -i | grep libJPEG
>     libJPEG Version => unknown
> 
>     After path result:
> 
>     root at eurosmed ~ # php -i | grep libJPEG
>     libJPEG Version => 8
> 
>     Patch:
>  
>     Need replace it:
>     const char * gdJpegGetVersionString()
>     {
>         switch(JPEG_LIB_VERSION) {
>                 case 62:
>                         return "6b";
>                         break;
> 
>                 default:
>                         return "unknown";
>     }
> 
>     At this:
>     const char * gdJpegGetVersionString()
>     {
>         switch(JPEG_LIB_VERSION) {
>                 case 62:
>                         return "6b";
>                         break;
> 
>                 case 70:
>                         return "7";
>                         break;
> 
>                 case 80:
>                         return "8";
>                         break;
> 
>                 default:
>                         return "unknown";
>     }
> 
>     On file:
>     php5-5.4.4/ext/gd/libgd/gd_compat.c
> 
> 
> -- System Information:
> Debian Release: 7.7
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages php5-gd depends on:
> ii  dpkg                                   1.16.15
> ii  libapache2-mod-php5 [phpapi-20100525]  5.4.4-14+deb7u14
> ii  libc6                                  2.13-38+deb7u6
> ii  libfreetype6                           2.4.9-1.1
> ii  libgd2-xpm                             2.0.36~rc1~dfsg-6.1
> pn  libjpeg8                               <none>
> ii  libpng12-0                             1.2.49-1
> ii  libx11-6                               2:1.5.0-1+deb7u1
> ii  libxpm4                                1:3.5.10-1
> ii  php5-cgi [phpapi-20100525]             5.4.4-14+deb7u14
> ii  php5-cli [phpapi-20100525]             5.4.4-14+deb7u14
> ii  php5-common                            5.4.4-14+deb7u14
> ii  ucf                                    3.0025+nmu3
> ii  zlib1g                                 1:1.2.7.dfsg-13
> 
> php5-gd recommends no packages.
> 
> php5-gd suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint


-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



More information about the pkg-php-maint mailing list