mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

77 lines
2.3 KiB

# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/dietlibc/pkg_patch/pkg_sysvinit.patch
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./src/Makefile.orig Mon May 6 11:15:52 2002
+++ ./src/Makefile Mon May 6 11:17:08 2002
@@ -23,10 +23,6 @@
INSTALL = install -o $(BIN_OWNER) -g $(BIN_GROUP)
MANDIR = /usr/share/man
-# Additional libs for Gnu Libc
-ifneq ($(wildcard /usr/lib/libcrypt.a),)
-LCRYPT = -lcrypt
-endif
all: $(PROGS)
@@ -46,7 +42,7 @@
$(CC) $(LDFLAGS) -o $@ runlevel.o
sulogin: sulogin.o
- $(CC) $(LDFLAGS) $(STATIC) -o $@ sulogin.o $(LCRYPT)
+ $(CC) $(LDFLAGS) $(STATIC) -o $@ sulogin.o
wall: dowall.o wall.o
$(CC) $(LDFLAGS) -o $@ dowall.o wall.o
--- ./src/init.c.orig Sun May 5 03:27:31 2002
+++ ./src/init.c Sat May 4 18:11:40 2002
@@ -49,6 +49,8 @@
#include <sys/syslog.h>
#include <sys/time.h>
+#define UTMP_FILE _PATH_UTMP
+
#ifdef __i386__
# if (__GLIBC__ >= 2)
/* GNU libc 2.x */
--- ./src/last.c.orig Sun May 5 03:29:32 2002
+++ ./src/last.c Sun May 5 03:04:26 2002
@@ -36,6 +36,8 @@
#include <arpa/inet.h>
#include "oldutmp.h"
+#define WTMP_FILE _PATH_WTMP
+
#ifndef SHUTDOWN_TIME
# define SHUTDOWN_TIME 254
#endif
--- ./src/utmp.c.orig Sun May 5 03:30:04 2002
+++ ./src/utmp.c Sat May 4 18:12:39 2002
@@ -17,6 +17,8 @@
#include <fcntl.h>
#include <string.h>
#include <utmp.h>
+#define UTMP_FILE _PATH_UTMP
+#define WTMP_FILE _PATH_WTMP
#include "init.h"
#include "initreq.h"