From 8105eab822ca74d6ef1393b8cddab747a27a755c6f7f5d1917133ee26dd7bfc6 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 6 Sep 2010 13:26:32 +0000 Subject: [PATCH] Accepting request 47193 from home:azouhr:branches:devel:tools OBS-URL: https://build.opensuse.org/request/show/47193 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=15 --- systemtap-hppa.diff | 11 +++++++++++ systemtap.changes | 5 +++++ systemtap.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 systemtap-hppa.diff diff --git a/systemtap-hppa.diff b/systemtap-hppa.diff new file mode 100644 index 0000000..5d453f1 --- /dev/null +++ b/systemtap-hppa.diff @@ -0,0 +1,11 @@ +--- includes/sys/sdt.h.orig 2010-07-21 22:46:07.000000000 +0200 ++++ includes/sys/sdt.h 2010-09-05 20:47:20.686243029 +0200 +@@ -129,7 +129,7 @@ + #endif + + +-#if defined __x86_64__ || defined __i386__ || defined __powerpc__ || defined __arm__ || defined __sparc__ ++#if defined __x86_64__ || defined __i386__ || defined __powerpc__ || defined __arm__ || defined __sparc__ || defined __hppa + #define STAP_NOP "\tnop " + #else + #define STAP_NOP "\tnop 0 " diff --git a/systemtap.changes b/systemtap.changes index c5569f7..a9dae6d 100644 --- a/systemtap.changes +++ b/systemtap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 5 18:39:44 UTC 2010 - bg@novell.com + +- fix build for hppa + ------------------------------------------------------------------- Thu Aug 26 01:35:21 UTC 2010 - tonyj@novell.com diff --git a/systemtap.spec b/systemtap.spec index ef58cf1..66c0c6d 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -39,6 +39,7 @@ Source: ftp://sources.redhat.com/pub/systemtap/snapshots/systemtap-%{pac # need -docdir patch even though docs are packaged by systemtap-docs.spec # so that they are installed into directories matching below rm -rf's Patch1: systemtap-docdir-fix.diff +Patch2: systemtap-hppa.diff Requires: libebl1 Requires: %{name}-runtime = %{version}-%{release} @@ -144,6 +145,7 @@ Authors: %setup -n %{name}-%{package_version} -q %endif %patch1 -p1 +%patch2 %build autoreconf -fi