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.

109 lines
3.1 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/alessandro/busybox/lxconfig.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./miscutils/time.c.orig 2005-11-04 13:26:21.000000000 +0100
  20. +++ ./miscutils/time.c 2005-11-04 13:26:28.000000000 +0100
  21. @@ -21,6 +21,7 @@
  22. Heavily modified for busybox by Erik Andersen <andersen@codepoet.org>
  23. */
  24. +#include "busybox.h"
  25. #include <stdlib.h>
  26. #include <stdio.h>
  27. #include <signal.h>
  28. @@ -36,7 +37,6 @@
  29. #define TV_MSEC tv_usec / 1000
  30. #include <sys/resource.h>
  31. -#include "busybox.h"
  32. /* Information on the resources used by a child process. */
  33. typedef struct
  34. --- ./shell/ash.c.orig 2005-11-04 13:27:12.000000000 +0100
  35. +++ ./shell/ash.c 2005-11-04 13:27:21.000000000 +0100
  36. @@ -65,6 +65,7 @@
  37. #define _GNU_SOURCE
  38. #endif
  39. +#include "busybox.h"
  40. #include <sys/types.h>
  41. #include <sys/cdefs.h>
  42. #include <sys/ioctl.h>
  43. @@ -96,7 +97,6 @@
  44. #include <fnmatch.h>
  45. -#include "busybox.h"
  46. #include "pwd_.h"
  47. #ifdef CONFIG_ASH_JOB_CONTROL
  48. --- ./sysklogd/syslogd.c.orig 2005-11-04 13:27:36.000000000 +0100
  49. +++ ./sysklogd/syslogd.c 2005-11-04 13:27:43.000000000 +0100
  50. @@ -26,6 +26,8 @@
  51. *
  52. */
  53. +#include "busybox.h"
  54. +
  55. #include <stdio.h>
  56. #include <stdlib.h>
  57. #include <ctype.h>
  58. @@ -45,8 +47,6 @@
  59. #include <sys/un.h>
  60. #include <sys/param.h>
  61. -#include "busybox.h"
  62. -
  63. /* SYSLOG_NAMES defined to pull some extra junk from syslog.h */
  64. #define SYSLOG_NAMES
  65. #include <sys/syslog.h>
  66. --- ./networking/ping.c.orig 2005-11-04 13:26:37.000000000 +0100
  67. +++ ./networking/ping.c 2005-11-04 13:26:45.000000000 +0100
  68. @@ -31,6 +31,7 @@
  69. * Original copyright notice is retained at the end of this file.
  70. */
  71. +#include "busybox.h"
  72. #include <sys/param.h>
  73. #include <sys/socket.h>
  74. #include <sys/file.h>
  75. @@ -49,7 +50,6 @@
  76. #include <unistd.h>
  77. #include <string.h>
  78. #include <stdlib.h>
  79. -#include "busybox.h"
  80. static const int DEFDATALEN = 56;
  81. --- ./include/busybox.h.orig 2005-11-04 13:21:57.000000000 +0100
  82. +++ ./include/busybox.h 2005-11-04 13:30:10.000000000 +0100
  83. @@ -24,6 +24,13 @@
  84. #ifndef _BB_INTERNAL_H_
  85. #define _BB_INTERNAL_H_ 1
  86. +// never include the linux kernel config setting. They use the same
  87. +// namespace as the busybox config flags. -- Clifford Wolf
  88. +#ifdef _LINUX_CONFIG_H
  89. +# error Linux kernel config included before busybox.h
  90. +#endif
  91. +#define _LINUX_CONFIG_H
  92. +
  93. #include "config.h"
  94. #include <stdio.h>