2
1

util-linux-003-program-invocation-short-name.patch 759 B

123456789101112131415161718
  1. uClibc build fix: program_invocation_short_name is defined in errno.h
  2. and not argp.h
  3. Update to util-linux-2.22.2 from a previous patch by Khem.
  4. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  5. diff -Nura util-linux-2.22.2.orig/configure.ac util-linux-2.22.2/configure.ac
  6. --- util-linux-2.22.2.orig/configure.ac 2013-03-07 15:16:18.912418476 -0300
  7. +++ util-linux-2.22.2/configure.ac 2013-03-07 15:16:25.909640745 -0300
  8. @@ -372,7 +372,7 @@
  9. AC_MSG_CHECKING(whether program_invocation_short_name is defined)
  10. -AC_TRY_COMPILE([#include <argp.h>],
  11. +AC_TRY_COMPILE([#include <errno.h>],
  12. [program_invocation_short_name = "test";],
  13. AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1,
  14. [Define if program_invocation_short_name is defined])