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.

59 lines
1.8 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../dietlibc/patches/pkg_man.patch
  5. # Copyright (C) 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. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./src/man.c.orig 2006-06-19 00:21:55.000000000 +0200
  17. +++ ./src/man.c 2006-06-19 00:24:43.000000000 +0200
  18. @@ -30,6 +30,9 @@
  19. #include <errno.h>
  20. #include <unistd.h>
  21. #include <locale.h>
  22. +#include <termio.h>
  23. +#define index strchr
  24. +#define rindex strrchr
  25. #ifndef R_OK
  26. #define R_OK 4
  27. --- ./src/man-config.c.orig 2006-06-19 00:26:33.000000000 +0200
  28. +++ ./src/man-config.c 2006-06-19 00:27:06.000000000 +0200
  29. @@ -32,6 +32,7 @@
  30. #include "paths.h"
  31. #include "gripes.h"
  32. #include "util.h"
  33. +#define rindex strrchr
  34. #define BUFSIZE 4096
  35. --- ./src/to_cat.c.orig 2006-06-19 00:29:10.000000000 +0200
  36. +++ ./src/to_cat.c 2006-06-19 00:29:22.000000000 +0200
  37. @@ -1,6 +1,7 @@
  38. #include <stdio.h>
  39. #include <stdlib.h>
  40. #include <string.h>
  41. +#define rindex strrchr
  42. extern char *rindex (const char *, int); /* not always in <string.h> */
  43. --- ./src/manpath.c.orig 2006-06-19 00:29:57.000000000 +0200
  44. +++ ./src/manpath.c 2006-06-19 00:30:16.000000000 +0200
  45. @@ -26,6 +26,8 @@
  46. #include <unistd.h>
  47. #include <sys/types.h>
  48. #include <sys/stat.h>
  49. +#define index strchr
  50. +#define rindex strrchr
  51. /* not always in <string.h> */
  52. extern char *index(const char *, int);