hddtemp-0.3_beta15-execinfo.patch 751 B

12345678910111213141516171819202122
  1. --- hddtemp-0.3-beta15/configure.in~ 2005-10-17 19:14:19 +0000
  2. +++ hddtemp-0.3-beta15/configure.in 2006-12-11 18:23:22 +0000
  3. @@ -18,6 +18,7 @@
  4. AC_HEADER_STDC
  5. AC_CHECK_HEADERS(fcntl.h)
  6. AC_CHECK_HEADERS(netinet/in.h)
  7. +AC_CHECK_HEADERS(execinfo.h)
  8. AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE_UNQUOTED([in_addr_t], [uint32_t], [Define to 'uint32_t' if <netinet/in.h> does not define.])], [#include <netinet/in.h>])
  9. # Checks for typedefs, structures, and compiler characteristics.
  10. --- hddtemp-0.3-beta15/src/backtrace.c-orig 2006-12-11 18:20:41 +0000
  11. +++ hddtemp-0.3-beta15/src/backtrace.c 2006-12-11 18:23:28 +0000
  12. @@ -18,7 +18,7 @@
  13. #include <features.h>
  14. -#if defined(__i386__) && defined(__GLIBC__)
  15. +#ifdef HAS_EXECINFO_H
  16. #include <execinfo.h>