OBS User unknown 2008-01-12 02:27:42 +00:00 committed by Git OBS Bridge
parent 5352411cc1
commit 39ff8fe8c3
5 changed files with 82 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46f6c64d50974f848b8520693711661aed3a9c16e25ba82cd3cd3ebf8d0bde13
size 778423

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e85009c7c22d319a6ce4d727c793fe14c77faa1766b6aec5acfedee81115ac8
size 779519

View File

@ -1,21 +1,71 @@
--- staptree.h-dist 2007-10-24 16:27:33.000000000 +0200
+++ staptree.h 2007-10-24 16:27:56.000000000 +0200
@@ -844,7 +844,7 @@ require (deep_copy_visitor* v, T* dst, T
diff -ruN src-old/staptree.cxx src/staptree.cxx
--- src-old/staptree.cxx 2007-12-11 14:45:28.000000000 +0100
+++ src/staptree.cxx 2007-12-17 16:05:19.000000000 +0100
@@ -2390,3 +2390,30 @@
require <expression*> (&v, &n, s);
return n;
}
+
+template <> void
+require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src)
+{
+ if (src != NULL)
+ {
+ symbol *array_src=NULL, *array_dst=NULL;
+ hist_op *hist_src=NULL, *hist_dst=NULL;
+
+ classify_indexable(src, array_src, hist_src);
+
+ *dst = NULL;
+
+ if (array_src)
+ {
+ require <symbol*> (v, &array_dst, array_src);
+ *dst = array_dst;
+ }
+ else
+ {
+ require <hist_op*> (v, &hist_dst, hist_src);
+ *dst = hist_dst;
+ }
+ assert (*dst);
+ }
+}
+
diff -ruN src-old/staptree.h src/staptree.h
--- src-old/staptree.h 2007-12-11 14:45:29.000000000 +0100
+++ src/staptree.h 2007-12-17 16:06:15.000000000 +0100
@@ -848,31 +848,8 @@
}
}
-template <> static void
-require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src)
-{
- if (src != NULL)
- {
- symbol *array_src=NULL, *array_dst=NULL;
- hist_op *hist_src=NULL, *hist_dst=NULL;
-
- classify_indexable(src, array_src, hist_src);
-
- *dst = NULL;
-
- if (array_src)
- {
- require <symbol*> (v, &array_dst, array_src);
- *dst = array_dst;
- }
- else
- {
- require <hist_op*> (v, &hist_dst, hist_src);
- *dst = hist_dst;
- }
- assert (*dst);
- }
-}
+template <> void
require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src)
{
if (src != NULL)
--- staptree.cxx-dist 2007-10-24 16:27:29.000000000 +0200
+++ staptree.cxx 2007-10-24 16:28:06.000000000 +0200
@@ -17,6 +17,7 @@
#include <cassert>
#include <vector>
#include <algorithm>
+#include <cstring>
using namespace std;
+require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src);
template <typename T> void
provide (deep_copy_visitor* v, T src)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 11 17:10:09 CET 2008 - tiwai@suse.de
- updated to snapshot 20080105
- fixed build of the snapshot with gcc 4.3
-------------------------------------------------------------------
Mon Nov 19 14:53:53 CET 2007 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package systemtap (Version 0.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -12,10 +12,10 @@
Name: systemtap
BuildRequires: gcc-c++ glib2-devel libcap-devel libebl-devel pkg-config sqlite-devel
%define package_version 20071117
%define package_version 20080105
License: GPL v2 or later
Version: 0.6
Release: 9
Release: 18
Summary: Instrumentation System
Group: Development/Tools/Debuggers
Url: http://sourceware.org/systemtap/
@ -43,7 +43,7 @@ Authors:
# %setup -n %{name}-%{package_version} -q -a1
%setup -n src -q
%if %suse_version > 1030
%patch
%patch -p1
%endif
%build
@ -65,7 +65,11 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/systemtap
%{_datadir}/systemtap
%dir %attr(0755,root,root) /var/cache/systemtap
%changelog
* Fri Jan 11 2008 - tiwai@suse.de
- updated to snapshot 20080105
- fixed build of the snapshot with gcc 4.3
* Mon Nov 19 2007 - tiwai@suse.de
- enable gcc-4.3 patch (yes, we use only gcc4.3 now)
- updated to snapshot 20071117