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.

37 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../bash/mkbuiltins_have_stringize.patch.cross
  5. # Copyright (C) 2013 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. from http://patches.openembedded.org/patch/38919/ and
  17. http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/commit/?id=da0ff91
  18. authored by Christopher Larson <chris_larson@mentor.com> for yocto
  19. fixes:
  20. > undefined reference to `xopen'
  21. > undefined reference to `xread'
  22. when using FORTIFY_SOURCES during cross compilations of bash 4.2
  23. --- ./builtins/mkbuiltins.c.orig 2013-08-22 11:01:59.845125909 +0200
  24. +++ ./builtins/mkbuiltins.c 2013-08-22 11:03:50.113130203 +0200
  25. @@ -28,6 +28,7 @@
  26. # define HAVE_STDLIB_H
  27. # define HAVE_RENAME
  28. +# define HAVE_STRINGIZE
  29. #endif /* CROSS_COMPILING */
  30. #if defined (HAVE_UNISTD_H)