commit:     24ae17840823e38aa1a8f0e8176461d7846053ad
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  8 05:02:44 2018 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun Apr  8 05:02:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ae1784

net-dns/openresolv: cleanup

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/openresolv/files/3.8.1-restore-newline.patch | 16 ----------------
 1 file changed, 16 deletions(-)

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
index 2522710bf94..00000000000
--- a/net-dns/openresolv/files/3.8.1-restore-newline.patch
+++ /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"
-

Reply via email to