From 2ee1cda802df25fa5a794a3ec6149772c5675569 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Thu, 10 Mar 2016 13:42:44 -0500 Subject: [PATCH] Export libdyninstAPI_RT_init_maxthreads (ref rhbz1315841) --- dyninst-export.patch | 11 +++++++++++ dyninst.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 dyninst-export.patch diff --git a/dyninst-export.patch b/dyninst-export.patch new file mode 100644 index 0000000..f01f32a --- /dev/null +++ b/dyninst-export.patch @@ -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; + diff --git a/dyninst.spec b/dyninst.spec index 9fec65b..9cc4e41 100644 --- a/dyninst.spec +++ b/dyninst.spec @@ -2,7 +2,7 @@ Summary: An API for Run-time Code Generation License: LGPLv2+ Name: dyninst Group: Development/Libraries -Release: 3%{?dist} +Release: 4%{?dist} URL: http://www.dyninst.org Version: 9.1.0 Exclusiveos: linux @@ -11,6 +11,7 @@ ExclusiveArch: %{ix86} x86_64 ppc ppc64 Source0: http://www.paradyn.org/release%{version}/DyninstAPI-%{version}.tgz Source1: http://www.paradyn.org/release%{version}/Testsuite-%{version}.tgz +Patch1: dyninst-export.patch %global dyninst_base DyninstAPI-%{version} %global testsuite_base Testsuite-%{version} @@ -81,6 +82,8 @@ making sure that dyninst works properly. %setup -q -n %{name}-%{version} -c %setup -q -T -D -a 1 +%patch1 -p0 -b .export + %build cd %{dyninst_base} @@ -168,6 +171,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \ %attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a %changelog +* Thu Mar 10 2016 William Cohen - 9.1.0-4 +- Export libdyninstAPI_RT_init_maxthreads (ref rhbz1315841) + * Wed Feb 03 2016 Fedora Release Engineering - 9.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild