From bff7516daac4320981f2ae8322af6c8fddf885a7f4a5e3b7b242b83b3500e687 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 8 Oct 2015 13:59:15 +0000 Subject: [PATCH] Accepting request 337261 from home:pgajdos:doxygen-ppc64le OBS-URL: https://build.opensuse.org/request/show/337261 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=97 --- doxygen-doc.spec | 6 ++++++ doxygen-dot-one-thread.patch | 41 +++++++++++++++++++++++++----------- doxygen.spec | 4 ++-- 3 files changed, 37 insertions(+), 14 deletions(-) diff --git a/doxygen-doc.spec b/doxygen-doc.spec index 63be4a3..6f17274 100644 --- a/doxygen-doc.spec +++ b/doxygen-doc.spec @@ -29,6 +29,8 @@ Source0: http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar Patch2: doxygen-no-shared-libs.patch # PATCH-FIX-UPSTREAM: add missing returns to non-void functions Patch3: vhdlparser-no-return.patch +# suse specific, for ppc64le, workaround for bnc#921577 +Patch4: doxygen-dot-one-thread.patch BuildRequires: bison BuildRequires: cmake >= 2.8.12 BuildRequires: fdupes @@ -77,6 +79,10 @@ This package contains only documentation %setup -q -n doxygen-%{version} %patch2 -p1 %patch3 -p1 +%ifarch ppc64le +# see bnc#921577 +%patch4 -p1 +%endif %build export CFLAGS="%{optflags} -fPIC" diff --git a/doxygen-dot-one-thread.patch b/doxygen-dot-one-thread.patch index 3c35dde..c7017e8 100644 --- a/doxygen-dot-one-thread.patch +++ b/doxygen-dot-one-thread.patch @@ -1,13 +1,30 @@ -Index: src/config.xml +From: Michel Normand +Subject: doxygen ppc64le ignore DOT NUM THREADS to 0 +Date: Wed, 07 Oct 2015 14:11:22 +0200 + +doxygen ppc64le ignore DOT NUM THREADS to 0 as a bypass to boo#921577 + +Signed-off-by: Michel Normand +--- + src/dot.cpp | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +Index: doxygen-1.8.10/src/dot.cpp =================================================================== ---- src/config.xml.orig 2015-06-27 13:40:48.000000000 +0200 -+++ src/config.xml 2015-10-05 15:50:05.584725277 +0200 -@@ -3130,7 +3130,7 @@ - ]]> - - --