summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch')
-rw-r--r--app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch
new file mode 100644
index 000000000000..1e7239535d4d
--- /dev/null
+++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch
@@ -0,0 +1,21 @@
+--- hddtemp-0.3-beta15/configure.in~ 2005-10-17 19:14:19 +0000
++++ hddtemp-0.3-beta15/configure.in 2006-12-11 18:23:22 +0000
+@@ -18,6 +18,7 @@
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS(fcntl.h)
+ AC_CHECK_HEADERS(netinet/in.h)
++AC_CHECK_HEADERS(execinfo.h)
+ 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>])
+
+ # Checks for typedefs, structures, and compiler characteristics.
+--- hddtemp-0.3-beta15/src/backtrace.c-orig 2006-12-11 18:20:41 +0000
++++ hddtemp-0.3-beta15/src/backtrace.c 2006-12-11 18:23:28 +0000
+@@ -18,7 +18,7 @@
+
+ #include <features.h>
+
+-#if defined(__i386__) && defined(__GLIBC__)
++#ifdef HAS_EXECINFO_H
+
+ #include <execinfo.h>
+