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.

55 lines
2.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../ash/denoise.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. # --- T2-COPYRIGHT-NOTE-END ---
  16. Remove some noise. With some C libraries the str* and bzero colide.
  17. - Rene Rebe <rene@exactcode.de>
  18. diff -ur ash-linux-0.2/error.c ash-linux-0.2-fixed/error.c
  19. --- ash-linux-0.2/error.c 1993-09-06 11:04:22.000000000 +0200
  20. +++ ash-linux-0.2-fixed/error.c 2005-02-02 11:03:31.629060136 +0100
  21. @@ -100,7 +100,7 @@
  22. return;
  23. }
  24. intpending = 0;
  25. -#ifdef BSD
  26. +#ifdef BSD_NONO
  27. sigsetmask(0);
  28. #endif
  29. if (rootshell && iflag)
  30. diff -ur ash-linux-0.2/mystring.h ash-linux-0.2-fixed/mystring.h
  31. --- ash-linux-0.2/mystring.h 1993-08-24 11:12:53.000000000 +0200
  32. +++ ash-linux-0.2-fixed/mystring.h 2005-02-02 11:01:35.411727856 +0100
  33. @@ -44,14 +44,9 @@
  34. #ifdef __STDC__
  35. void scopyn(const char *, char *, int);
  36. char *strchr(const char *, int);
  37. -void mybcopy(const pointer, pointer, int);
  38. int prefix(const char *, const char *);
  39. int number(const char *);
  40. int is_number(const char *);
  41. -int strcmp(const char *, const char *); /* from C library */
  42. -char *strcpy(char *, const char *); /* from C library */
  43. -int strlen(const char *); /* from C library */
  44. -char *strcat(char *, const char *); /* from C library */
  45. #else
  46. void scopyn();
  47. char *strchr();
  48. @@ -67,4 +62,3 @@
  49. #define equal(s1, s2) (strcmp(s1, s2) == 0)
  50. #define scopy(s1, s2) ((void)strcpy(s2, s1))
  51. -#define bcopy(src, dst, n) mybcopy((pointer)(src), (pointer)(dst), n)