0001-remove-msgcat-dependency.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From ac16b1a905dbdb06ac7bba6ac105686aa7958093 Mon Sep 17 00:00:00 2001
  2. From: Adam Duskett <Aduskett@gmail.com>
  3. Date: Fri, 24 Jul 2020 11:49:14 -0700
  4. Subject: [PATCH] remove msgcat dependency
  5. Gettext-tiny does not include the msgcat utility, which causes issues when
  6. building libbytesize for embedded systems, as many embedded systems do not
  7. build the full gettext, but instead use the gettext-tiny library.
  8. Because msgcat is not needed to build libbytesize, it's safe to remove the
  9. dependency.
  10. Upstream-status: pending
  11. https://github.com/storaged-project/libbytesize/pull/76
  12. Signed-off-by: Adam Duskett <Aduskett@gmail.com>
  13. ---
  14. configure.ac | 3 +--
  15. 1 file changed, 1 insertion(+), 2 deletions(-)
  16. diff --git a/configure.ac b/configure.ac
  17. index 2ec4062..7d7f218 100644
  18. --- a/configure.ac
  19. +++ b/configure.ac
  20. @@ -13,8 +13,7 @@ AC_CONFIG_MACRO_DIR([m4])
  21. AC_PATH_PROG([XGETTEXT], [xgettext])
  22. AC_PATH_PROG([MSGFMT], [msgfmt])
  23. AC_PATH_PROG([MSGMERGE], [msgmerge])
  24. -AC_PATH_PROG([MSGCAT], [msgcat])
  25. -AS_IF([test -z "$XGETTEXT" -o -z "$MSGFMT" -o -z "$MSGMERGE" -o -z "$MSGCAT"],
  26. +AS_IF([test -z "$XGETTEXT" -o -z "$MSGFMT" -o -z "$MSGMERGE"],
  27. [AC_MSG_FAILURE([gettext not found])])
  28. # Define this so gettext.h works without requiring the whole gettext macro
  29. --
  30. 2.26.2