Ticket #736: config-icu.patch

File config-icu.patch, 378 bytes (added by hv, 6 years ago)

chop all trailing newlines on icu prefix

  • config/auto/icu.pm

    old new  
    327327    my $self = shift; 
    328328    my ($conf, $icuheaders, $without) = @_; 
    329329    if ( defined $icuheaders ) { 
    330         chomp $icuheaders; 
     330        $icuheaders =~ s/\n+\z//; 
    331331        if (! -d $icuheaders) { 
    332332            $without = 1; 
    333333        }