OpenSDE Packages Database (without history before r20070)
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.

73 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ash/slakware-fix.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Cleanup from Slackware.
  17. --- ./Makefile.orig Sun May 15 14:16:31 1994
  18. +++ ./Makefile Tue Aug 3 16:19:10 1999
  19. @@ -14,8 +14,10 @@
  20. OBJS = $(OBJ1) $(OBJ2)
  21. -CFLAGS = -O2 -fomit-frame-pointer -m486 -DSHELL -I/usr/include/bsd -I.
  22. -LDFLAGS = -s -lbsd
  23. +#CFLAGS = -O2 -pipe -DSHELL -I/usr/include/bsd -I. -D__BIT_TYPES_DEFINED__
  24. +#LDFLAGS = -s -lbsd
  25. +CFLAGS = -O2 -pipe -DSHELL -I. -D__BIT_TYPES_DEFINED__
  26. +LDFLAGS = -s
  27. CLEANFILES =\
  28. builtins.c builtins.h init.c mkinit mknodes mksyntax \
  29. @@ -32,7 +34,7 @@
  30. token.def: mktokens
  31. sh ./mktokens
  32. -builtins.h builtins.c: mkbuiltins builtins
  33. +builtins.h builtins.c: mkbuiltins
  34. sh ./mkbuiltins
  35. init.c: mkinit $(SRCS)
  36. --- ./mknodes.c.orig Mon Sep 6 04:04:23 1993
  37. +++ ./mknodes.c Tue Aug 3 16:19:10 1999
  38. @@ -89,7 +89,7 @@
  39. struct str *curstr; /* current structure */
  40. -FILE *infp = stdin;
  41. +FILE *infp;
  42. char line[1024];
  43. int linno;
  44. char *linep;
  45. @@ -102,6 +102,7 @@
  46. main(argc, argv)
  47. char **argv;
  48. {
  49. + infp = stdin;
  50. if (argc != 3) {
  51. error("usage: mknodes file\n");
  52. return(1);
  53. --- ./trap.c.orig Tue Aug 24 04:12:57 1993
  54. +++ ./trap.c Tue Aug 3 16:19:10 1999
  55. @@ -53,6 +53,9 @@
  56. #include "mystring.h"
  57. #include <signal.h>
  58. +#ifndef sig_t
  59. +#define sig_t __sighandler_t
  60. +#endif
  61. /*
  62. * Sigmode records the current value of the signal handlers for the various