diff options
Diffstat (limited to 'package/ltrace/patches/patch-breakpoints_c.orig')
-rw-r--r-- | package/ltrace/patches/patch-breakpoints_c.orig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ltrace/patches/patch-breakpoints_c.orig b/package/ltrace/patches/patch-breakpoints_c.orig new file mode 100644 index 000000000..6c69f0d34 --- /dev/null +++ b/package/ltrace/patches/patch-breakpoints_c.orig @@ -0,0 +1,14 @@ +--- ltrace-0.7.3.orig/breakpoints.c 2013-09-09 11:46:54.000000000 +0200 ++++ ltrace-0.7.3/breakpoints.c 2013-10-16 11:13:21.000000000 +0200 +@@ -159,9 +159,10 @@ int + breakpoint_clone(struct breakpoint *retp, struct Process *new_proc, + struct breakpoint *bp, struct Process *old_proc) + { ++ int rc; + struct library_symbol *libsym = NULL; + if (bp->libsym != NULL) { +- int rc = proc_find_symbol(new_proc, bp->libsym, NULL, &libsym); ++ rc = proc_find_symbol(new_proc, bp->libsym, NULL, &libsym); + assert(rc == 0); + } + |