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.

63 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/pkg_patch/man-index.patch
  5. # Copyright (C) 2006 The OpenSDE 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. --- ./src/to_cat.c.orig 2006-12-14 23:02:21.000000000 -0300
  17. +++ ./src/to_cat.c 2006-12-14 23:02:29.000000000 -0300
  18. @@ -2,8 +2,6 @@
  19. #include <stdlib.h>
  20. #include <string.h>
  21. -extern char *rindex (const char *, int); /* not always in <string.h> */
  22. -
  23. #include "defs.h"
  24. #include "manfile.h"
  25. #include "man-config.h"
  26. --- ./src/man.c.orig 2006-12-14 23:01:00.000000000 -0300
  27. +++ ./src/man.c 2006-12-14 23:01:11.000000000 -0300
  28. @@ -38,9 +38,6 @@
  29. #define R_OK 4
  30. #endif
  31. -extern char *index (const char *, int); /* not always in <string.h> */
  32. -extern char *rindex (const char *, int); /* not always in <string.h> */
  33. -
  34. #include "defs.h"
  35. #include "gripes.h"
  36. #include "man.h"
  37. --- ./src/man-config.c.orig 2006-12-14 23:02:02.000000000 -0300
  38. +++ ./src/man-config.c 2006-12-14 23:02:10.000000000 -0300
  39. @@ -35,8 +35,6 @@
  40. #define BUFSIZE 4096
  41. -extern char *rindex (const char *, int); /* not always in <string.h> */
  42. -
  43. #define whitespace(x) ((x) == ' ' || (x) == '\t')
  44. /* directories listed in config file */
  45. --- ./src/manpath.c.orig 2006-12-14 23:01:32.000000000 -0300
  46. +++ ./src/manpath.c 2006-12-14 23:01:45.000000000 -0300
  47. @@ -27,10 +27,6 @@
  48. #include <sys/types.h>
  49. #include <sys/stat.h>
  50. -/* not always in <string.h> */
  51. -extern char *index(const char *, int);
  52. -extern char *rindex(const char *, int);
  53. -
  54. #include "defs.h"
  55. #include "gripes.h"
  56. #include "man.h" /* for debug */