0001-Disable-portability-warning-as-error.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. From e0aaedea30483bf5b9bb085e12fff79144fa1174 Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Thu, 29 Aug 2024 11:12:57 -0700
  4. Subject: [PATCH] Disable portability warning as error
  5. With latest automake 1.17 its warning about escape hash
  6. mark [1] and since configure.ac uses -werror to call automake
  7. this becomes an error and reconfigure fails.
  8. escape hash mark is non-portable as discussed here [2]
  9. Fow now let it be a warning, it should be fixed in a portable way
  10. [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=7610
  11. [2] https://lists.gnu.org/archive/html/automake/2011-08/msg00023.html
  12. Upstream-Status: Submitted [https://github.com/e2tools/e2tools/pull/31]
  13. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  14. ---
  15. configure.ac | 1 +
  16. 1 file changed, 1 insertion(+)
  17. diff --git a/configure.ac b/configure.ac
  18. index dd32c4d..9f37591 100644
  19. --- a/configure.ac
  20. +++ b/configure.ac
  21. @@ -14,6 +14,7 @@ AC_CONFIG_MACRO_DIR([m4])
  22. AM_INIT_AUTOMAKE([
  23. -Wall
  24. -Werror
  25. +-Wno-portability
  26. 1.9.6
  27. foreign
  28. subdir-objects