1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../mdmh/head_-n.patch
5 # Copyright (C) 2005 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 ---
17 --- ./Makefile.orig 2005-12-16 14:43:56.000000000 -0300
18 +++ ./Makefile 2005-12-16 14:44:18.000000000 -0300
21 warn-auto.sh mdbiff.sh conf-home conf-play
22 cat warn-auto.sh mdbiff.sh \
23 - | sed s}HOME}"`head -1 conf-home`"}g \
24 - | sed s}PLAY}"`head -1 conf-play`"}g \
25 + | sed s}HOME}"`head -n 1 conf-home`"}g \
26 + | sed s}PLAY}"`head -n 1 conf-play`"}g \
33 echo 'main="$$1"; shift'; \
34 - echo exec "`head -1 conf-ld`" \
35 + echo exec "`head -n 1 conf-ld`" \
36 '-o "$$main" "$$main".o $${1+"$$@"}' \
43 - echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \
44 + echo exec "`head -n 1 conf-cc`" '-c $${1+"$$@"}' \
52 - ./auto-str auto_home `head -1 conf-home` > auto_home.c
53 + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
56 load auto-str.o buffer.a error.a str.a
59 find-systype.sh conf-cc conf-ld trycpp.c x86cpuid.c
61 - echo CC=\'`head -1 conf-cc`\'; \
62 - echo LD=\'`head -1 conf-ld`\'; \
63 + echo CC=\'`head -n 1 conf-cc`\'; \
64 + echo LD=\'`head -n 1 conf-ld`\'; \
65 cat find-systype.sh; \