Export libdyninstAPI_RT_init_maxthreads (ref rhbz1315841)

This commit is contained in:
William Cohen 2016-03-10 13:42:44 -05:00
parent 722fe1221f
commit 2ee1cda802
2 changed files with 18 additions and 1 deletions

11
dyninst-export.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up DyninstAPI-9.1.0/dyninstAPI_RT/h/dyninstRTExport.h.export DyninstAPI-9.1.0/dyninstAPI_RT/h/dyninstRTExport.h
--- DyninstAPI-9.1.0/dyninstAPI_RT/h/dyninstRTExport.h.export 2016-03-09 12:53:59.440594409 -0500
+++ DyninstAPI-9.1.0/dyninstAPI_RT/h/dyninstRTExport.h 2016-03-09 12:54:58.334974970 -0500
@@ -116,6 +116,7 @@ DLLEXPORT extern dyntid_t (*DYNINST_pthr
DLLEXPORT extern unsigned int DYNINSTobsCostLow;
DLLEXPORT extern int libdyninstAPI_RT_init_localCause;
DLLEXPORT extern int libdyninstAPI_RT_init_localPid;
+DLLEXPORT extern int libdyninstAPI_RT_init_maxthreads;
DLLEXPORT extern int libdyninstAPI_RT_init_debug_flag;
DLLEXPORT extern struct DYNINST_bootstrapStruct DYNINST_bootstrap_info;

View File

@ -2,7 +2,7 @@ Summary: An API for Run-time Code Generation
License: LGPLv2+ License: LGPLv2+
Name: dyninst Name: dyninst
Group: Development/Libraries Group: Development/Libraries
Release: 3%{?dist} Release: 4%{?dist}
URL: http://www.dyninst.org URL: http://www.dyninst.org
Version: 9.1.0 Version: 9.1.0
Exclusiveos: linux Exclusiveos: linux
@ -11,6 +11,7 @@ ExclusiveArch: %{ix86} x86_64 ppc ppc64
Source0: http://www.paradyn.org/release%{version}/DyninstAPI-%{version}.tgz Source0: http://www.paradyn.org/release%{version}/DyninstAPI-%{version}.tgz
Source1: http://www.paradyn.org/release%{version}/Testsuite-%{version}.tgz Source1: http://www.paradyn.org/release%{version}/Testsuite-%{version}.tgz
Patch1: dyninst-export.patch
%global dyninst_base DyninstAPI-%{version} %global dyninst_base DyninstAPI-%{version}
%global testsuite_base Testsuite-%{version} %global testsuite_base Testsuite-%{version}
@ -81,6 +82,8 @@ making sure that dyninst works properly.
%setup -q -n %{name}-%{version} -c %setup -q -n %{name}-%{version} -c
%setup -q -T -D -a 1 %setup -q -T -D -a 1
%patch1 -p0 -b .export
%build %build
cd %{dyninst_base} cd %{dyninst_base}
@ -168,6 +171,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a %attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a
%changelog %changelog
* Thu Mar 10 2016 William Cohen <wcohen@redhat.com> - 9.1.0-4
- Export libdyninstAPI_RT_init_maxthreads (ref rhbz1315841)
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.1.0-3 * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild