summaryrefslogtreecommitdiff
path: root/package/ltrace/patches/patch-breakpoints_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-30 13:26:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-30 13:31:20 +0200
commit5a43da1af12df3a39cd30b724bf9144850bd2764 (patch)
tree1480c5d41b739168d930ddf503f407218e35b98d /package/ltrace/patches/patch-breakpoints_c
parent30d6f21d2fb3ca89a86346994a70a436afbb2e14 (diff)
experimental midori support
Diffstat (limited to 'package/ltrace/patches/patch-breakpoints_c')
-rw-r--r--package/ltrace/patches/patch-breakpoints_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ltrace/patches/patch-breakpoints_c b/package/ltrace/patches/patch-breakpoints_c
new file mode 100644
index 000000000..0c8d77c8b
--- /dev/null
+++ b/package/ltrace/patches/patch-breakpoints_c
@@ -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:26:00.000000000 +0200
+@@ -159,9 +159,10 @@ int
+ breakpoint_clone(struct breakpoint *retp, struct Process *new_proc,
+ struct breakpoint *bp, struct Process *old_proc)
+ {
++ __attribute__((unused))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);
+ }
+