]> git.pld-linux.org Git - packages/dyninst.git/commitdiff
- added x32 patch, now builds on x32 auto/th/dyninst-9.0.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Oct 2015 20:09:23 +0000 (21:09 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Oct 2015 20:09:23 +0000 (21:09 +0100)
dyninst-x32.patch [new file with mode: 0644]
dyninst.spec

diff --git a/dyninst-x32.patch b/dyninst-x32.patch
new file mode 100644 (file)
index 0000000..86ab55c
--- /dev/null
@@ -0,0 +1,11 @@
+--- DyninstAPI-9.0.3/stackwalk/src/x86-swk.C.orig      2015-08-26 18:13:07.000000000 +0200
++++ DyninstAPI-9.0.3/stackwalk/src/x86-swk.C   2015-10-25 20:25:17.942073210 +0100
+@@ -61,7 +61,7 @@
+      sw_printf("%p%p\n", frame_pointer, &frame_pointer);
+   }
+-#if defined(arch_x86_64) && (defined(os_linux) || defined(os_freebsd))
++#if defined(arch_x86_64) && !defined(__ILP32__) && (defined(os_linux) || defined(os_freebsd))
+   __asm__("mov %%rbp, %0\n"
+         : "=r"(frame_pointer));
+ #elif defined(os_linux) || defined(os_freebsd)
index ed81ab9e7c59778dca9dfaec38a8ac3b4f83ace8..95eabb5bab746e05781fd27a8993c92754aaee25 100644 (file)
@@ -10,6 +10,7 @@ Source0:      http://www.paradyn.org/release%{version}/DyninstAPI-%{version}.tgz
 # Source0-md5: 8441fb98ea610c3ecd4367e2ceab05df
 Patch0:                %{name}-libname.patch
 Patch1:                %{name}-build-symlite.patch
+Patch2:                %{name}-x32.patch
 URL:           http://www.dyninst.org/dyninst
 # libiberty
 BuildRequires: binutils-devel
@@ -23,7 +24,7 @@ BuildRequires:        libxml2-devel >= 2
 BuildRequires: sed >= 4.0
 BuildRequires: texlive-format-pdflatex
 Requires:      libdwarf >= 0.20130126
-ExclusiveArch: %{ix86} %{x8664} ppc ppc64 aarch64
+ExclusiveArch: %{ix86} %{x8664} x32 ppc ppc64 aarch64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -86,6 +87,7 @@ Dokumentacja do bibliotek dyninst.
 %setup -q -n DyninstAPI-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %cmake . \
This page took 0.14935 seconds and 4 git commands to generate.