/[gentoo-x86]/dev-util/ccache/files/ccache-3.1.7-no-perl.patch
Gentoo

Contents of /dev-util/ccache/files/ccache-3.1.7-no-perl.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jun 24 03:28:03 2012 UTC (11 months, 3 weeks ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Update to EAPI=4, and avoid perl requirement in tests #421609 by Leon Schoorl.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 avoid weak perl usage in tests
2
3 https://bugs.gentoo.org/421609
4
5 --- a/test.sh
6 +++ b/test.sh
7 @@ -1466,7 +1466,7 @@
8 mkdir -p $dir
9 i=0
10 while [ $i -lt 10 ]; do
11 - perl -e 'print "A" x 4017' >$dir/result$i-4017.o
12 + printf '%4017s' '' | tr ' ' 'A' >$dir/result$i-4017.o
13 touch $dir/result$i-4017.stderr
14 touch $dir/result$i-4017.d
15 if [ $i -gt 5 ]; then

  ViewVC Help
Powered by ViewVC 1.1.20