rpms/systemtap/devel systemtap-1.2-fix-sparc.patch, NONE, 1.1 systemtap.spec, 1.61, 1.62

Tom Callaway spot at fedoraproject.org
Wed Mar 24 17:16:33 UTC 2010


Author: spot

Update of /cvs/pkgs/rpms/systemtap/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv32701/devel

Modified Files:
	systemtap.spec 
Added Files:
	systemtap-1.2-fix-sparc.patch 
Log Message:
fix sparc

systemtap-1.2-fix-sparc.patch:
 sdt.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE systemtap-1.2-fix-sparc.patch ---
diff -up systemtap-1.2/includes/sys/sdt.h.BAD systemtap-1.2/includes/sys/sdt.h
--- systemtap-1.2/includes/sys/sdt.h.BAD	2010-03-24 11:30:50.694520827 -0400
+++ systemtap-1.2/includes/sys/sdt.h	2010-03-24 11:44:29.062420646 -0400
@@ -72,7 +72,7 @@
 #define STAP_UNINLINE
 #endif
 
-#if defined __x86_64__ || defined __i386__  || defined __powerpc__ || defined __arm__
+#if defined __x86_64__ || defined __i386__  || defined __powerpc__ || defined __arm__ || defined __sparc__
 #define STAP_NOP "\tnop "
 #else
 #define STAP_NOP "\tnop 0 "


Index: systemtap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/systemtap/devel/systemtap.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -p -r1.61 -r1.62
--- systemtap.spec	22 Mar 2010 22:28:17 -0000	1.61
+++ systemtap.spec	24 Mar 2010 17:16:33 -0000	1.62
@@ -12,7 +12,7 @@
 
 Name: systemtap
 Version: 1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 # for version, see also configure.ac
 Summary: Instrumentation System
 Group: Development/System
@@ -78,6 +78,9 @@ BuildRequires: boost-devel
 %endif
 %endif
 
+# http://sources.redhat.com/bugzilla/show_bug.cgi?id=11427
+Patch2: systemtap-1.2-fix-sparc.patch
+
 %description
 SystemTap is an instrumentation system for systems running Linux 2.6.
 Developers can write instrumentation to collect data on the operation
@@ -189,6 +192,8 @@ find . \( -name configure -o -name confi
 cd ..
 %endif
 
+%patch2 -p1 -b .sparc
+
 %build
 
 %if %{with_bundled_elfutils}
@@ -508,6 +513,9 @@ exit 0
 
 
 %changelog
+* Wed Mar 24 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.2-2
+- fix compilation on sparc
+
 * Mon Mar 22 2010 Frank Ch. Eigler <fche at redhat.com> - 1.2-1
 - Upstream release.
 



More information about the scm-commits mailing list