1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/mdnsresponder/hotfix-shared.patch
3 # Copyright (C) 2008 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License as published by the Free Software
12 # Foundation; either version 2 of the License, or (at your option) any later
14 # --- T2-COPYRIGHT-NOTE-END ---
16 --- mDNSResponder-107.6/mDNSPosix/Makefile.orig 2008-09-06 17:18:32.000000000 +1000
17 +++ mDNSResponder-107.6/mDNSPosix/Makefile 2008-09-06 17:19:54.000000000 +1000
20 # Check the nsswitch.conf file.
21 # If 'mdns' does not already appear on the "hosts:" line, then add it right before 'dns'
22 - cp -f /etc/nsswitch.conf /etc/nsswitch.conf.pre-mdns
23 - sed -e '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf.pre-mdns > /etc/nsswitch.conf
24 + #cp -f /etc/nsswitch.conf /etc/nsswitch.conf.mdns
25 + sed -e '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf > /etc/nsswitch.conf.mdns
27 #############################################################################