summaryrefslogtreecommitdiff
path: root/patches/ltrace/0.7.3/004-compile-warning.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 07:38:03 (GMT)
committerGitHub <noreply@github.com>2017-07-13 07:38:03 (GMT)
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /patches/ltrace/0.7.3/004-compile-warning.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'patches/ltrace/0.7.3/004-compile-warning.patch')
-rw-r--r--patches/ltrace/0.7.3/004-compile-warning.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/patches/ltrace/0.7.3/004-compile-warning.patch b/patches/ltrace/0.7.3/004-compile-warning.patch
deleted file mode 100644
index ad65829..0000000
--- a/patches/ltrace/0.7.3/004-compile-warning.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Juan Cespedes <cespedes@debian.org>
-Description: Fix compile warning
-Last-Update: 2014-01-02
-Forwarded: not-needed
-
-
---- ltrace-0.7.3.orig/value.c
-+++ ltrace-0.7.3/value.c
-@@ -284,7 +284,7 @@ value_init_deref(struct value *ret_val,
-
- /* We need "long" to be long enough to hold platform
- * pointers. */
-- typedef char assert__long_enough_long[-(sizeof(l) < sizeof(void *))];
-+ (void)sizeof(char[1 - 2*(sizeof(l) < sizeof(void *))]);
-
- value_common_init(ret_val, valp->inferior, valp,
- valp->type->u.ptr_info.info, 0);
---- ltrace-0.7.3.orig/lens_default.c
-+++ ltrace-0.7.3/lens_default.c
-@@ -344,7 +344,7 @@ format_array(FILE *stream, struct value
- {
- /* We need "long" to be long enough to cover the whole address
- * space. */
-- typedef char assert__long_enough_long[-(sizeof(long) < sizeof(void *))];
-+ (void)sizeof(char[1 - 2*(sizeof(long) < sizeof(void *))]);
- long l;
- if (expr_eval_word(length, value, arguments, &l) < 0)
- return -1;