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

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