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.

65 lines
2.0 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/dietlibc/pkg_patch/pkg_sh-utils.patch-x
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./lib/getline.c.orig Wed May 1 12:05:24 2002
  23. +++ ./lib/getline.c Wed May 1 12:05:24 2002
  24. @@ -22,10 +22,8 @@
  25. # include <config.h>
  26. #endif
  27. -/* The `getdelim' function is only declared if the following symbol
  28. - is defined. */
  29. -#ifndef _GNU_SOURCE
  30. -# define _GNU_SOURCE 1
  31. +#ifdef _GNU_SOURCE
  32. +# undef _GNU_SOURCE
  33. #endif
  34. #include <stdio.h>
  35. --- ./lib/getline.h.orig Thu May 13 22:51:26 1999
  36. +++ ./lib/getline.h Wed May 1 12:05:24 2002
  37. @@ -17,6 +17,10 @@
  38. #ifndef GETLINE_H_
  39. # define GETLINE_H_ 1
  40. +#ifdef _GNU_SOURCE
  41. +# undef _GNU_SOURCE
  42. +#endif
  43. +
  44. # include <stdio.h>
  45. # ifndef PARAMS
  46. --- ./config.h.in.orig Wed May 1 12:10:17 2002
  47. +++ ./config.h.in Wed May 1 12:10:36 2002
  48. @@ -123,12 +123,6 @@
  49. byte first (like Motorola and SPARC, unlike Intel and VAX). */
  50. #undef WORDS_BIGENDIAN
  51. -/* This is always defined. It enables GNU extensions on systems that
  52. - have them. */
  53. -#ifndef _GNU_SOURCE
  54. -# undef _GNU_SOURCE
  55. -#endif
  56. -
  57. /* Define if your system's definition of `struct termios' has a member
  58. named c_line. */
  59. #undef HAVE_C_LINE