diff options
-rw-r--r-- | packages/ltrace/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/ltrace/files/no-usr-include.patch | 16 | ||||
-rw-r--r-- | packages/ltrace/ltrace_0.4.bb | 3 |
3 files changed, 18 insertions, 1 deletions
diff --git a/packages/ltrace/files/.mtn2git_empty b/packages/ltrace/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/ltrace/files/.mtn2git_empty diff --git a/packages/ltrace/files/no-usr-include.patch b/packages/ltrace/files/no-usr-include.patch new file mode 100644 index 0000000000..adadfa8032 --- /dev/null +++ b/packages/ltrace/files/no-usr-include.patch @@ -0,0 +1,16 @@ +--- ltrace-0.4.orig/configure.ac ++++ ltrace-0.4/configure.ac +@@ -41,13 +41,6 @@ + dnl AC_CHECK_FUNCS(gettimeofday strdup strerror strspn) + AC_CHECK_FUNCS(getopt getopt_long) + +-for path in /usr/include/elfutils /usr/local/include/elfutils \ +- /usr/include/libelf /usr/local/include/libelf; do +- if test -f ${path}/gelf.h; then +- CPPFLAGS="$CPPFLAGS -I ${path}" +- fi +-done +- + AC_CHECK_HEADER(gelf.h,,AC_MSG_ERROR([***** gelf.h not found *****])) + + AC_CHECK_LIB(elf,gelf_getdyn) diff --git a/packages/ltrace/ltrace_0.4.bb b/packages/ltrace/ltrace_0.4.bb index 4ef906f2f9..97b7d18d22 100644 --- a/packages/ltrace/ltrace_0.4.bb +++ b/packages/ltrace/ltrace_0.4.bb @@ -6,7 +6,8 @@ LICENSE = "GPL" PR = "r0" SRC_URI = "ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.4.orig.tar.gz \ - ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.4-1.diff.gz;patch=1" + ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.4-1.diff.gz;patch=1 \ + file://no-usr-include.patch;patch=1" inherit autotools PARALLEL_MAKE = "" |