net-dns/openresolv: cleanup
authorAlon Bar-Lev <alonbl@gentoo.org>
Sun, 8 Apr 2018 05:02:44 +0000 (08:02 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sun, 8 Apr 2018 05:02:44 +0000 (08:02 +0300)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-dns/openresolv/files/3.8.1-restore-newline.patch [deleted file]

diff --git a/net-dns/openresolv/files/3.8.1-restore-newline.patch b/net-dns/openresolv/files/3.8.1-restore-newline.patch
deleted file mode 100644 (file)
index 2522710..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/libc.in
-+++ b/libc.in
-@@ -214,11 +214,11 @@
- # If the old file does not have our signature, back it up.
- # If the new file just has our signature, restore the backup.
- if $backup; then
-       if [ "$newconf" = "$signature$NL" ]; then
-               if [ -e "$resolv_conf.bak" ]; then
--                      newconf="$(cat "$resolv_conf.bak")"
-+                      newconf="$(cat "$resolv_conf.bak")$NL"
-               fi
-       elif [ -e "$resolv_conf" ]; then
-               read line <"$resolv_conf"
-               if [ "$line" != "$signature" ]; then
-                       cp "$resolv_conf" "$resolv_conf.bak"
-