Source: ming
Version: 1:0.4.4-1.1
Severity: important
Justification: fails to build from source
tags patch

Hi,

ming FTBFS on old PHP version.
New patch which fix build with php 5.4 applied By 1:0.4.4-1.1, but
this patch is broken.
When we apply this patch, ming cannot build in old PHP.

This can see from build log of alpha, sh4 and sparc64.

  
http://buildd.debian-ports.org/status/fetch.php?pkg=ming&arch=alpha&ver=1%3A0.4.4-1.1&stamp=1331421225
  
http://buildd.debian-ports.org/status/fetch.php?pkg=ming&arch=sh4&ver=1%3A0.4.4-1.1&stamp=1331425194
  
http://buildd.debian-ports.org/status/fetch.php?pkg=ming&arch=sparc64&ver=1%3A0.4.4-1.1&stamp=1331418577

-----
ming.c: In function 'phpStreamOutputMethod':
ming.c:3960:2: warning: pointer targets in passing argument 2 of
'_php_stream_write' differ in signedness [-Wpointer-sign]
/usr/include/php5/main/php_streams.h:291:15: note: expected 'const
char *' but argument is of type 'byte *'
ming.c: In function 'zim_swfmovie_importFont':
ming.c:4394:2: warning: suggest parentheses around '&&' within '||'
[-Wparentheses]
ming.c:4394:2: error: expected ')' before '{' token
ming.c:4405:1: error: expected expression before '}' token
ming.c:4385:6: warning: unused variable 'ret' [-Wunused-variable]
ming.c:4384:19: warning: unused variable 'res' [-Wunused-variable]
ming.c:4383:11: warning: variable 'movie' set but not used
[-Wunused-but-set-variable]
make[2]: *** [ming_la-ming.lo] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/php_ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch-stamp] Error 2
-----

I create a new patch which revise this.

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

Attachment: 09-php5.4.patch.fixed
Description: Binary data

Reply via email to