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.

41 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../musl/pkg/gcc/0021-add-fortify-headers-paths.patch
  5. # Copyright (C) 2020 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 a0708ec975c01b049d254dc51179898966bf8a52 Mon Sep 17 00:00:00 2001
  17. From: Ariadne Conill <ariadne@dereferenced.org>
  18. Date: Fri, 21 Aug 2020 07:01:06 +0000
  19. Subject: [PATCH 21/30] add fortify-headers paths
  20. ---
  21. gcc/config/linux.h | 2 ++
  22. 1 file changed, 2 insertions(+)
  23. diff --git a/gcc/config/linux.h b/gcc/config/linux.h
  24. index 95654bcdb5a..d88df8f154a 100644
  25. --- a/gcc/config/linux.h
  26. +++ b/gcc/config/linux.h
  27. @@ -167,6 +167,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  28. #ifdef NATIVE_SYSTEM_HEADER_DIR
  29. #define INCLUDE_DEFAULTS_MUSL_NATIVE \
  30. + { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 2 }, \
  31. + { NATIVE_SYSTEM_HEADER_DIR "/fortify", 0, 0, 0, 1, 0 }, \
  32. { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
  33. { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
  34. #else
  35. --
  36. 2.27.0