[ltrace/f16] Fix compilation

Petr Machata pmachata at fedoraproject.org
Thu Aug 11 13:21:42 UTC 2011


commit 2be9f97f12fa86b635566b5a88f8597da5405b43
Author: Petr Machata <pmachata at redhat.com>
Date:   Thu Aug 11 15:21:17 2011 +0200

    Fix compilation

 ltrace-0.6.0-testsuite-clone.patch |   24 ++++++++++++++++++++++++
 ltrace.spec                        |    2 ++
 2 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/ltrace-0.6.0-testsuite-clone.patch b/ltrace-0.6.0-testsuite-clone.patch
new file mode 100644
index 0000000..e27de42
--- /dev/null
+++ b/ltrace-0.6.0-testsuite-clone.patch
@@ -0,0 +1,24 @@
+From 43d1de94c304f61f20d542a031bee907cd98c2e6 Mon Sep 17 00:00:00 2001
+From: Petr Machata <pmachata at redhat.com>
+Date: Thu, 11 Aug 2011 15:09:05 +0200
+Subject: [PATCH] Fix compilation
+
+---
+ testsuite/ltrace.minor/trace-clone.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/testsuite/ltrace.minor/trace-clone.c b/testsuite/ltrace.minor/trace-clone.c
+index a1ccb22..6e1c809 100644
+--- a/testsuite/ltrace.minor/trace-clone.c
++++ b/testsuite/ltrace.minor/trace-clone.c
+@@ -4,6 +4,7 @@
+ 
+    This file was written by Yao Qi <qiyao at cn.ibm.com>.  */
+ 
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <stdlib.h>
+-- 
+1.7.4.4
+
diff --git a/ltrace.spec b/ltrace.spec
index 5adcc4c..df5b9c5 100644
--- a/ltrace.spec
+++ b/ltrace.spec
@@ -20,6 +20,7 @@ Patch2: ltrace-0.6.0-exec-stripped.patch
 Patch3: ltrace-0.5-demangle.patch
 Patch4: ltrace-0.5-etc-memmove.patch
 Patch5: ltrace-0.6.0-return-string-n.patch
+Patch6: ltrace-0.6.0-testsuite-clone.patch
 
 %description
 Ltrace is a debugging program which runs a specified command until the
@@ -38,6 +39,7 @@ execution of processes.
 #%patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 sed -i -e 's/-o root -g root//' Makefile.in
 
 %build


More information about the scm-commits mailing list