Fix a FTBFS on powerpc64le
This commit is contained in:
parent
091cc6df51
commit
1fa8105697
44
ltrace-0.7.91-ppc64le-configure.patch
Normal file
44
ltrace-0.7.91-ppc64le-configure.patch
Normal file
@ -0,0 +1,44 @@
|
||||
From eea6091f8672b01f7f022b0fc367e0f568225ffc Mon Sep 17 00:00:00 2001
|
||||
From: Petr Machata <pmachata@redhat.com>
|
||||
Date: Fri, 8 Aug 2014 17:09:58 +0200
|
||||
Subject: [PATCH] Recognize powerpc64le in configure
|
||||
|
||||
---
|
||||
configure.ac | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4f360c8..6fe5e3b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -43,7 +43,7 @@ case "${host_cpu}" in
|
||||
arm*|sa110) HOST_CPU="arm" ;;
|
||||
cris*) HOST_CPU="cris" ;;
|
||||
mips*) HOST_CPU="mips" ;;
|
||||
- powerpc|powerpc64) HOST_CPU="ppc" ;;
|
||||
+ powerpc|powerpc64|powerpc64le) HOST_CPU="ppc" ;;
|
||||
sun4u|sparc64) HOST_CPU="sparc" ;;
|
||||
s390x) HOST_CPU="s390" ;;
|
||||
i?86|x86_64) HOST_CPU="x86" ;;
|
||||
@@ -210,12 +210,12 @@ AC_MSG_RESULT([$enable_libunwind])
|
||||
|
||||
if test x"$enable_libunwind" = xyes; then
|
||||
case "${host_cpu}" in
|
||||
- arm*|sa110) UNWIND_ARCH="arm" ;;
|
||||
- i?86) UNWIND_ARCH="x86" ;;
|
||||
- powerpc) UNWIND_ARCH="ppc32" ;;
|
||||
- powerpc64) UNWIND_ARCH="ppc64" ;;
|
||||
- mips*) UNWIND_ARCH="mips" ;;
|
||||
- *) UNWIND_ARCH="${host_cpu}" ;;
|
||||
+ arm*|sa110) UNWIND_ARCH="arm" ;;
|
||||
+ i?86) UNWIND_ARCH="x86" ;;
|
||||
+ powerpc) UNWIND_ARCH="ppc32" ;;
|
||||
+ powerpc64|powerpc64le) UNWIND_ARCH="ppc64" ;;
|
||||
+ mips*) UNWIND_ARCH="mips" ;;
|
||||
+ *) UNWIND_ARCH="${host_cpu}" ;;
|
||||
esac
|
||||
|
||||
saved_LDFLAGS="${LDFLAGS}"
|
||||
--
|
||||
2.1.0
|
||||
|
||||
11
ltrace.spec
11
ltrace.spec
@ -1,7 +1,7 @@
|
||||
Summary: Tracks runtime library calls from dynamically linked executables
|
||||
Name: ltrace
|
||||
Version: 0.7.91
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
URL: http://ltrace.alioth.debian.org/
|
||||
License: GPLv2+
|
||||
Group: Development/Debuggers
|
||||
@ -91,6 +91,10 @@ Patch21: ltrace-0.7.91-multithread-no-f-2.patch
|
||||
Patch22: ltrace-0.7.91-testsuite-includes.patch
|
||||
Patch23: ltrace-0.7.91-testsuite-includes-2.patch
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1210653
|
||||
# http://anonscm.debian.org/cgit/collab-maint/ltrace.git/commit/?id=eea6091f8672b01f7f022b0fc367e0f568225ffc
|
||||
Patch24: ltrace-0.7.91-ppc64le-configure.patch
|
||||
|
||||
%description
|
||||
Ltrace is a debugging program which runs a specified command until the
|
||||
command exits. While the command is executing, ltrace intercepts and
|
||||
@ -126,6 +130,7 @@ execution of processes.
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
|
||||
%build
|
||||
autoreconf -i
|
||||
@ -151,6 +156,10 @@ echo ====================TESTING END=====================
|
||||
%{_datadir}/ltrace
|
||||
|
||||
%changelog
|
||||
* Mon Apr 13 2015 Petr Machata <pmachata@redhat.com> - 0.7.91-16
|
||||
- Add upstream fix to map of powerpc64le architecture to ppc backend.
|
||||
(ltrace-0.7.91-ppc64le-configure.patch)
|
||||
|
||||
* Wed Apr 8 2015 Petr Machata <pmachata@redhat.com> - 0.7.91-15
|
||||
- Add upstream fixes for compilation of test cases
|
||||
(ltrace-0.7.91-testsuite-includes.patch,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user