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