1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../minit/compile.patch
5 # Copyright (C) 2004 - 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 ---
16 --- ./Makefile.orig 2005-04-08 19:24:04.000000000 +0200
17 +++ ./Makefile 2005-04-11 15:03:26.000000000 +0200
21 shutdown: shutdown.o split.o openreadclose.o opendevconsole.o
22 - $(DIET) $(CROSS)$(CC) $(LDFLAGS) -o shutdown $^
23 + $(DIET) $(CROSS)$(CC) $(LDFLAGS) -o shutdown $^ $(LDLIBS)
26 $(DIET) $(CROSS)$(CC) $(CFLAGS) -c $<
28 $(DIET) $(CROSS)$(CC) $(CFLAGS) -o $@ $^
30 hard-reboot: hard-reboot.c
31 - $(DIET) $(CROSS)$(CC) $(CFLAGS) -o $@ $^
32 + $(DIET) $(CROSS)$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
34 write_proc: write_proc.c
35 $(DIET) $(CROSS)$(CC) $(CFLAGS) -o $@ $^
36 --- ./serdo.c.orig 2005-02-26 18:00:22.000000000 +0100
37 +++ ./serdo.c 2005-04-11 14:59:39.000000000 +0200
42 +extern char **environ;
47 --- minit-0.10/minit.c.vanilla 2005-04-11 15:24:23.000000000 +0200
48 +++ minit-0.10/minit.c 2005-04-11 15:24:10.000000000 +0200
56 extern void* __libc_malloc(size_t size);
57 extern void* __libc_realloc(void* x,size_t size);
58 --- minit-0.10/Makefile.vanilla 2005-04-11 15:24:23.000000000 +0200
59 +++ minit-0.10/Makefile 2005-04-11 15:24:10.000000000 +0200
61 install -m 644 hard-reboot.8 minit-list.8 minit-shutdown.8 minit-update.8 minit.8 msvc.8 pidfilehack.8 serdo.8 $(DESTDIR)$(MANDIR)/man8
64 + -rm -f $(DESTDIR)/etc/minit/in $(DESTDIR)/etc/minit/out
65 -mkfifo -m 600 $(DESTDIR)/etc/minit/in $(DESTDIR)/etc/minit/out
67 install: install-files install-fifos