0001-error_print_progname.patch 827 B

1234567891011121314151617181920
  1. [Updated to apply cleanly with 0.20.1]
  2. Signed-off-by: Adam Duskett <Aduskett@gmail.com>
  3. ---
  4. diff --git a/gettext-tools/gnulib-lib/error.h b/gettext-tools/gnulib-lib/error.h
  5. index 61771cc..4221684 100644
  6. --- a/gettext-tools/gnulib-lib/error.h
  7. +++ b/gettext-tools/gnulib-lib/error.h
  8. @@ -68,7 +68,10 @@ extern void error_at_line (int __status, int __errnum, const char *__fname,
  9. /* If NULL, error will flush stdout, then print on stderr the program
  10. name, a colon and a space. Otherwise, error will call this
  11. function without parameters instead. */
  12. -extern DLL_VARIABLE void (*error_print_progname) (void);
  13. +#ifndef __UCLIBC__
  14. +extern DLL_VARIABLE
  15. +#endif
  16. +void (*error_print_progname) (void);
  17. /* This variable is incremented each time 'error' is called. */
  18. extern DLL_VARIABLE unsigned int error_message_count;
  19. --