1 Index: ltrace-0.5.3/common.h
2 ===================================================================
3 --- ltrace-0.5.3.orig/common.h 2009-10-23 23:13:45.700282578 -0700
4 +++ ltrace-0.5.3/common.h 2009-10-23 23:14:13.550371553 -0700
11 @@ -251,3 +253,5 @@ extern void * sym2addr(Process *, struct
13 extern int umoven(Process * proc, void * addr, int len, void * laddr);
17 Index: ltrace-0.5.3/configure
18 ===================================================================
19 --- ltrace-0.5.3.orig/configure 2009-10-23 23:13:45.630316494 -0700
20 +++ ltrace-0.5.3/configure 2009-10-23 23:13:59.672869527 -0700
21 @@ -30,7 +30,7 @@ int main () {
22 return cplus_demangle();
25 -if gcc conftest.c -liberty 2>/dev/null
26 +if $CC conftest.c -liberty 2>/dev/null
30 @@ -48,7 +48,7 @@ int main () {
31 return __cxa_demangle();
34 -if gcc conftest.c -lsupc++ 2>/dev/null
35 +if $CC conftest.c -lsupc++ 2>/dev/null
39 @@ -67,7 +67,7 @@ int main () {
43 -if gcc conftest.c 2>/dev/null
44 +if $CC conftest.c 2>/dev/null
46 HAVE_ELF_C_READ_MMAP=1
48 @@ -77,15 +77,12 @@ else
50 rm -f conftest.c a.out
53 -CPPFLAGS=' -I /usr/include/libelf'
55 LIBS='-lelf -lsupc++ -liberty '
56 -INSTALL='/usr/bin/install -c'
62 sysconfdir='${prefix}/etc'
63 bindir='${prefix}/bin'
64 mandir='${prefix}/share/man'
65 Index: ltrace-0.5.3/debug.h
66 ===================================================================
67 --- ltrace-0.5.3.orig/debug.h 2009-10-23 23:13:45.670276809 -0700
68 +++ ltrace-0.5.3/debug.h 2009-10-23 23:14:26.440319785 -0700
75 @@ -14,4 +16,4 @@ void debug_(int level, const char *file,
76 int xinfdump(long, void *, int);
78 # define debug(level, expr...) debug_(level, __FILE__, __LINE__, expr)