* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / network / mdnsresponder / hotfix-shared.patch
blob54dd397186d6822968c318e20b004f8292965689
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/mdnsresponder/hotfix-shared.patch
3 # Copyright (C) 2008 - 2021 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
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
13 # version.
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
18 @@ -574,8 +574,8 @@
19 chmod 444 $@
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 #############################################################################