1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../djbdns/head_n.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- ./Makefile.orig 2004-11-23 00:29:39.000000000 -0300
17 +++ ./Makefile 2004-11-23 00:31:09.000000000 -0300
22 - ./auto-str auto_home `head -1 conf-home` > auto_home.c
23 + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
29 warn-auto.sh choose.sh conf-home
30 cat warn-auto.sh choose.sh \
31 - | sed s}HOME}"`head -1 conf-home`"}g \
32 + | sed s}HOME}"`head -n 1 conf-home`"}g \
39 - echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \
40 + echo exec "`head -n 1 conf-cc`" '-c $${1+"$$@"}' \
46 warn-auto.sh dnstracesort.sh conf-home
47 cat warn-auto.sh dnstracesort.sh \
48 - | sed s}HOME}"`head -1 conf-home`"}g \
49 + | sed s}HOME}"`head -n 1 conf-home`"}g \
51 chmod 755 dnstracesort
56 echo 'main="$$1"; shift'; \
57 - echo exec "`head -1 conf-ld`" \
58 + echo exec "`head -n 1 conf-ld`" \
59 '-o "$$main" "$$main".o $${1+"$$@"}' \
64 warn-auto.sh rts.sh conf-home
65 cat warn-auto.sh rts.sh \
66 - | sed s}HOME}"`head -1 conf-home`"}g \
67 + | sed s}HOME}"`head -n 1 conf-home`"}g \
73 find-systype.sh conf-cc conf-ld trycpp.c x86cpuid.c
75 - echo CC=\'`head -1 conf-cc`\'; \
76 - echo LD=\'`head -1 conf-ld`\'; \
77 + echo CC=\'`head -n 1 conf-cc`\'; \
78 + echo LD=\'`head -n 1 conf-ld`\'; \
79 cat find-systype.sh; \