[Pkg-fonts-devel] Bug#808850: xfonts-wqy: FTBFS: Type of arg 1 to	shift must be array (not constant item) at ./bdfmerge.pl line	35, near "ARGV)"
    Matt Kraai 
    kraai at ftbfs.org
       
    Sun Jan  1 14:38:31 UTC 2017
    
    
  
Hi,
The following patch fixes this issue by fixing bdfmerge.pl.
--- xfonts-wqy-1.0.0~rc1.orig/bdfmerge.pl
+++ xfonts-wqy-1.0.0~rc1/bdfmerge.pl
@@ -32,7 +32,7 @@ while(@ARGV>=1&& $ARGV[0]=~/^-{0,1}0[xX]
 {
 	$startpos = hex($1);
 	$endpos=0;
-	$range=shift(ARGV);
+	$range=shift(@ARGV);
 	if($range=~/--0[xX]([0-9A-Fa-f]{0,6})/)
 	{
 		$endpos=hex($1);
It seems like this might be more acceptable upstream.
-- 
Matt
    
    
More information about the Pkg-fonts-devel
mailing list