1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../sysvinit/compile.patch.dietlibc
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
6 # Copyright (C) 1998 - 2004 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- ./src/Makefile.orig Mon May 6 11:15:52 2002
19 +++ ./src/Makefile Mon May 6 11:17:08 2002
21 INSTALL = install -o $(BIN_OWNER) -g $(BIN_GROUP)
22 MANDIR = /usr/share/man
24 -# Additional libs for Gnu Libc
25 -ifneq ($(wildcard /usr/lib/libcrypt.a),)
32 $(CC) $(LDFLAGS) -o $@ runlevel.o
35 - $(CC) $(LDFLAGS) $(STATIC) -o $@ sulogin.o $(LCRYPT)
36 + $(CC) $(LDFLAGS) $(STATIC) -o $@ sulogin.o
39 $(CC) $(LDFLAGS) -o $@ dowall.o wall.o
40 --- ./src/init.c.orig Sun May 5 03:27:31 2002
41 +++ ./src/init.c Sat May 4 18:11:40 2002
43 #include <sys/syslog.h>
46 +#define UTMP_FILE _PATH_UTMP
51 --- ./src/last.c.orig Sun May 5 03:29:32 2002
52 +++ ./src/last.c Sun May 5 03:04:26 2002
54 #include <arpa/inet.h>
57 +#define WTMP_FILE _PATH_WTMP
60 # define SHUTDOWN_TIME 254
62 --- ./src/utmp.c.orig Sun May 5 03:30:04 2002
63 +++ ./src/utmp.c Sat May 4 18:12:39 2002
68 +#define UTMP_FILE _PATH_UTMP
69 +#define WTMP_FILE _PATH_WTMP
73 --- sysvinit-2.85/src/ifdown.c.orig 2003-09-20 04:47:44.000000000 +0200
74 +++ sysvinit-2.85/src/ifdown.c 2003-09-20 04:47:54.000000000 +0200
76 #include <sys/ioctl.h>
77 #include <sys/socket.h>
79 -#include <sys/errno.h>
83 #include <netinet/in.h>
84 --- sysvinit-2.85/src/last.c.orig 2003-09-20 04:51:58.000000000 +0200
85 +++ sysvinit-2.85/src/last.c 2003-09-20 04:52:09.000000000 +0200
88 #include <sys/types.h>
90 -#include <sys/fcntl.h>