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.

34 lines
1.4 KiB

  1. Since the 2.16 release of the glibc, 'gets' is not defined in the gnulib anymore
  2. This is a hack until upstream pulls in a new gnulib version
  3. Within gnulib this issue was already adsressed in the following commit:
  4. http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=66712c23388e93e5c518ebc8515140fa0c80734
  5. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  6. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  7. #
  8. # Filename: package/.../m4/m4-1.4.16-glibc-2.16-no-gets.patch
  9. # Copyright (C) 2012 The OpenSDE Project
  10. #
  11. # More information can be found in the files COPYING and README.
  12. #
  13. # This patch file is dual-licensed. It is available under the license the
  14. # patched project is licensed under, as long as it is an OpenSource license
  15. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  16. # of the GNU General Public License as published by the Free Software
  17. # Foundation; either version 2 of the License, or (at your option) any later
  18. # version.
  19. # --- SDE-COPYRIGHT-NOTE-END ---
  20. --- m4-1.4.16/lib/stdio.in.h.orig 2012-08-05 04:24:18.476550736 +0200
  21. +++ m4-1.4.16/lib/stdio.in.h 2012-08-05 04:28:54.601551183 +0200
  22. @@ -162,7 +162,6 @@
  23. so any use of gets warrants an unconditional warning. Assume it is
  24. always declared, since it is required by C89. */
  25. #undef gets
  26. -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
  27. #if @GNULIB_FOPEN@
  28. # if @REPLACE_FOPEN@