diff options
Diffstat (limited to 'net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch')
-rw-r--r-- | net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch b/net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch new file mode 100644 index 000000000000..89eaf82881f8 --- /dev/null +++ b/net-misc/netkit-rwho/files/netkit-rwho-0.17-printf.patch @@ -0,0 +1,23 @@ +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" |