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.

74 lines
2.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/base/ash/slakware-fix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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. --- ./Makefile.orig Sun May 15 14:16:31 1994
  20. +++ ./Makefile Tue Aug 3 16:19:10 1999
  21. @@ -14,8 +14,10 @@
  22. OBJS = $(OBJ1) $(OBJ2)
  23. -CFLAGS = -O2 -fomit-frame-pointer -m486 -DSHELL -I/usr/include/bsd -I.
  24. -LDFLAGS = -s -lbsd
  25. +#CFLAGS = -O2 -pipe -DSHELL -I/usr/include/bsd -I. -D__BIT_TYPES_DEFINED__
  26. +#LDFLAGS = -s -lbsd
  27. +CFLAGS = -O2 -pipe -DSHELL -I. -D__BIT_TYPES_DEFINED__
  28. +LDFLAGS = -s
  29. CLEANFILES =\
  30. builtins.c builtins.h init.c mkinit mknodes mksyntax \
  31. @@ -32,7 +34,7 @@
  32. token.def: mktokens
  33. sh ./mktokens
  34. -builtins.h builtins.c: mkbuiltins builtins
  35. +builtins.h builtins.c: mkbuiltins
  36. sh ./mkbuiltins
  37. init.c: mkinit $(SRCS)
  38. --- ./mknodes.c.orig Mon Sep 6 04:04:23 1993
  39. +++ ./mknodes.c Tue Aug 3 16:19:10 1999
  40. @@ -89,7 +89,7 @@
  41. struct str *curstr; /* current structure */
  42. -FILE *infp = stdin;
  43. +FILE *infp;
  44. char line[1024];
  45. int linno;
  46. char *linep;
  47. @@ -102,6 +102,7 @@
  48. main(argc, argv)
  49. char **argv;
  50. {
  51. + infp = stdin;
  52. if (argc != 3) {
  53. error("usage: mknodes file\n");
  54. return(1);
  55. --- ./trap.c.orig Tue Aug 24 04:12:57 1993
  56. +++ ./trap.c Tue Aug 3 16:19:10 1999
  57. @@ -53,6 +53,9 @@
  58. #include "mystring.h"
  59. #include <signal.h>
  60. +#ifndef sig_t
  61. +#define sig_t __sighandler_t
  62. +#endif
  63. /*
  64. * Sigmode records the current value of the signal handlers for the various