[ltrace] Work around a new GCC warning

Petr Machata pmachata at fedoraproject.org
Thu Jan 31 22:01:12 UTC 2013


commit 5ab8e7ffcadeb09becb5da693d1fbf31adfd095a
Author: Petr Machata <pmachata at redhat.com>
Date:   Thu Jan 31 23:00:49 2013 +0100

    Work around a new GCC warning

 ltrace.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ltrace.spec b/ltrace.spec
index 70b043d..adbba90 100644
--- a/ltrace.spec
+++ b/ltrace.spec
@@ -23,6 +23,9 @@ Patch0: ltrace-0.7.2-bits.patch
 # conventions.
 Patch1: ltrace-0.7.2-arm.patch
 
+# Work around a recently-added GCC warning.
+Patch2: ltrace-0.7.2-unused-typedef.patch
+
 %description
 Ltrace is a debugging program which runs a specified command until the
 command exits.  While the command is executing, ltrace intercepts and
@@ -37,6 +40,7 @@ execution of processes.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 autoreconf -i
@@ -68,6 +72,7 @@ echo ====================TESTING END=====================
 - Add a patch that implements ARM sofware singlestepping.  This mostly
   fixes test suite on ARM, though parameter passing conventions are
   still not implemented.  (ltrace-0.7.2-arm.patch)
+- Work around a new GCC warning (ltrace-0.7.2-unused-typedef.patch)
 
 * Fri Jan 11 2013 Petr Machata <pmachata at redhat.com> - 0.7.2-2
 - Improve documentation: better correlation between ltrace(1) and


More information about the scm-commits mailing list