]> git.pld-linux.org Git - packages/acpica.git/blob - acpica-dangling-ptr.patch
- added verbose patch not to hide compiler command line, disable stripping on install
[packages/acpica.git] / acpica-dangling-ptr.patch
1 diff -Naur acpica-unix2-20211217/source/components/utilities/utdebug.c acpica-unix2-20211217.orig/source/components/utilities/utdebug.c
2 --- acpica-unix2-20211217/source/components/utilities/utdebug.c 2022-03-15 17:05:07.992387565 -0600
3 +++ acpica-unix2-20211217.orig/source/components/utilities/utdebug.c    2021-12-17 10:48:16.000000000 -0700
4 @@ -58,6 +58,10 @@
5  static const char           *AcpiGbl_FunctionExitPrefix  = "----Exit-";
6  
7  
8 +#if defined(__GNUC__) && (__GNUC__ > 11)
9 +#pragma GCC diagnostic push
10 +#pragma GCC diagnostic ignored "-Wdangling-pointer"
11 +#endif
12  /*******************************************************************************
13   *
14   * FUNCTION:    AcpiUtInitStackPtrTrace
15 @@ -114,6 +110,9 @@
16          AcpiGbl_DeepestNesting = AcpiGbl_NestingLevel;
17      }
18  }
19 +#if defined(__GNUC__) && (__GNUC__ > 11)
20 +#pragma GCC diagnostic pop
21 +#endif
22  
23  
24  /*******************************************************************************
This page took 0.038593 seconds and 3 git commands to generate.