Patch Result.h to fix i386 build failure with dyninst consumers.
This commit is contained in:
parent
acbb7b86e7
commit
0428348348
24
dyninst-10.0.0-result.patch
Normal file
24
dyninst-10.0.0-result.patch
Normal file
@ -0,0 +1,24 @@
|
||||
--- ./dyninst-10.0.0/instructionAPI/h/Result.h.sv 2018-11-09 11:48:08.000000000 -0500
|
||||
+++ ./dyninst-10.0.0/instructionAPI/h/Result.h 2018-12-04 22:12:47.369579566 -0500
|
||||
@@ -450,8 +450,8 @@
|
||||
break;
|
||||
case u64:
|
||||
- snprintf(hex, 20, "%lx", val.u64val);
|
||||
+ snprintf(hex, 20, "%Lx", val.u64val);
|
||||
break;
|
||||
case s64:
|
||||
- snprintf(hex, 20, "%lx", val.s64val);
|
||||
+ snprintf(hex, 20, "%Lx", val.s64val);
|
||||
break;
|
||||
case sp_float:
|
||||
@@ -465,8 +465,8 @@
|
||||
break;
|
||||
case u48:
|
||||
- snprintf(hex, 20, "%lx", val.s48val);
|
||||
+ snprintf(hex, 20, "%Lx", val.s48val);
|
||||
break;
|
||||
case s48:
|
||||
- snprintf(hex, 20, "%lx", val.s48val);
|
||||
+ snprintf(hex, 20, "%Lx", val.s48val);
|
||||
break;
|
||||
case m512:
|
@ -2,7 +2,7 @@ Summary: An API for Run-time Code Generation
|
||||
License: LGPLv2+
|
||||
Name: dyninst
|
||||
Group: Development/Libraries
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
URL: http://www.dyninst.org
|
||||
Version: 10.0.0
|
||||
# Dyninst only has full support for a few architectures.
|
||||
@ -16,6 +16,7 @@ Source1: http://scox.fedorapeople.org/testsuite-9.4.0.tar.gz
|
||||
|
||||
Patch1: dyninst-10.0.0-examples.patch
|
||||
Patch2: dyninst-10.0.0-doc.patch
|
||||
Patch3: dyninst-10.0.0-result.patch
|
||||
|
||||
%global dyninst_base dyninst-%{version}
|
||||
# Explicit version since it does not match the source version
|
||||
@ -93,6 +94,7 @@ making sure that dyninst works properly.
|
||||
|
||||
%patch1 -p1 -b.ex
|
||||
%patch2 -p1 -b.doc
|
||||
%patch3 -p1 -b.result
|
||||
|
||||
# cotire seems to cause non-deterministic gcc errors
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1420551
|
||||
@ -202,6 +204,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
||||
%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a
|
||||
|
||||
%changelog
|
||||
* Wed Dec 05 2018 Stan Cox <scox@redhat.com> - 10.0.0-3
|
||||
- Patch Result.h for i386.
|
||||
|
||||
* Mon Dec 03 2018 Frank Ch. Eigler <fche@redhat.com> - 10.0.0-2
|
||||
- Add tbb-devel Requires:
|
||||
- Add ppc64le into ExclusiveArch:
|
||||
|
Loading…
Reference in New Issue
Block a user