Eliminate dynptr.h file use with rebase on newer git repo.

This commit is contained in:
William Cohen 2012-06-28 12:59:45 -04:00
parent 4f1375b651
commit 24518d8244
3 changed files with 31 additions and 3 deletions

23
dyninst-stdint.patch Normal file
View File

@ -0,0 +1,23 @@
diff -up dyninst-7.99/dyninst/common/src/dwarfExpr.C.stdint dyninst-7.99/dyninst/common/src/dwarfExpr.C
--- dyninst-7.99/dyninst/common/src/dwarfExpr.C.stdint 2012-06-27 10:54:00.000000000 -0400
+++ dyninst-7.99/dyninst/common/src/dwarfExpr.C 2012-06-28 12:25:45.384998827 -0400
@@ -29,6 +29,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stdint.h>
#include <stack>
#include "dynutil/h/dyn_regs.h"
#include "common/h/dwarfExpr.h"
diff -up dyninst-7.99/dyninst/proccontrol/src/handler.C.stdint dyninst-7.99/dyninst/proccontrol/src/handler.C
--- dyninst-7.99/dyninst/proccontrol/src/handler.C.stdint 2012-06-28 12:35:38.218003723 -0400
+++ dyninst-7.99/dyninst/proccontrol/src/handler.C 2012-06-28 12:36:04.286000028 -0400
@@ -28,6 +28,8 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#include <cstring>
#include "proccontrol/h/Handler.h"
#include "proccontrol/h/PCErrors.h"
#include "proccontrol/h/PCProcess.h"

View File

@ -4,7 +4,7 @@ Summary: An API for Run-time Code Generation
License: LGPLv2+
Name: dyninst
Group: Development/Libraries
Release: 0.14%{?dist}
Release: 0.16%{?dist}
URL: http://www.dyninst.org
Version: %version
Exclusiveos: linux
@ -14,13 +14,14 @@ ExcludeArch: s390 s390x %{arm}
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
# git clone http://git.dyninst.org/dyninst.git; cd dyninst
# git archive --format=tar.gz --prefix=dyninst/ c6ac3093d5c6a9480c575d9930bf8428bcf47f2a > dyninst-7.99.tar.gz
# git archive --format=tar.gz --prefix=dyninst/ da99839b9f188c7d30282be78b23d8687755efad > dyninst-7.99.tar.gz
# git clone http://git.dyninst.org/docs.git; cd docs
# git archive --format=tar.gz fe92e5b28804791ecadc893e469bc2215dbc3066 > dyninst-docs-7.99.tar.gz
Source0: %{name}-%{version}.tar.gz
Source1: %{name}-docs-%{version}.tar.gz
# Change version number so official dyninst 8.0 will replace it
Patch3: dyninst-git.patch
Patch4: dyninst-stdint.patch
BuildRequires: libxml2-devel >= 2.7.8
BuildRequires: libdwarf-devel
BuildRequires: elfutils-libelf-devel
@ -58,6 +59,7 @@ the dyninst user-space libraries and interfaces.
%setup -q -T -D -a 1
%patch3 -p1 -b .git
%patch4 -p1 -b .stdint
%build
@ -121,6 +123,9 @@ chmod 644 %{buildroot}%{_libdir}/dyninst/*.a
%{_libdir}/dyninst/*.a
%changelog
* Thu Jun 28 2012 William Cohen <wcohen@redhat.com> - 7.99-0.16
- Eliminate dynptr.h file use with rebase on newer git repo.
* Mon Jun 25 2012 William Cohen <wcohen@redhat.com> - 7.99-0.14
- Rebase on newer git repo.

View File

@ -1,2 +1,2 @@
b48f81266cd6b12fdbd80e902afe2da9 dyninst-7.99.tar.gz
f725b629452e0a1c8defd755d8a54d15 dyninst-7.99.tar.gz
be21f6a11b37a386e8b4ad16a86e3715 dyninst-docs-7.99.tar.gz