vapier      15/05/25 09:58:42

  Added:                netkit-rwho-0.17-printf.patch
  Log:
  Fix by Andrew Miller to use printf instead of echo -n #529974 by Diego Elio 
Pettenò.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch?rev=1.1&content-type=text/plain

Index: netkit-rwho-0.17-printf.patch
===================================================================
echo -n isn't supported by all shells, use printf instead, which is portable.

Note, if you apply this patch after 0004-ldflags.patch, the changes begin at 
line 276.
If you run it before 0004-ldflags.patch, the changes begin at line 277.

Patch by Andrew Miller.

https://bugs.gentoo.org/529974

--- a/configure
+++ b/configure
@@ -276,10 +276,7 @@
 
 echo 'Generating MCONFIG...'
 (
-    echo -n '# Generated by configure (confgen version 2) on '
-    date
-    echo '#'
-    echo
+    printf "#\n# Generated by configure (confgen version 2) on $(date)\n#\n\n"
 
     echo "BINDIR=$BINDIR"
     echo "SBINDIR=$SBINDIR"




Reply via email to