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
This commit is contained in:
Pavol Rusnak 2010-09-06 13:26:32 +00:00 committed by Git OBS Bridge
parent c550a80693
commit 8105eab822
3 changed files with 18 additions and 0 deletions

11
systemtap-hppa.diff Normal file
View File

@ -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 "

View File

@ -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

View File

@ -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