Blame doxygen-1.8.10-drop-qt-arch-x86-64-definition.patch

63a1e0
From 031780293d2838da2643b46878061598ebb56822 Mon Sep 17 00:00:00 2001
63a1e0
From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
63a1e0
Date: Thu, 8 Oct 2015 10:24:36 +0200
63a1e0
Subject: [PATCH] DO NOT hardcode x86-64 architecture.
63a1e0
63a1e0
doxygen built on most of architectures by pure luck and order of Qt5
63a1e0
qatomics_arch.h header where check for QT_ARCH_X86_64 was *after* most
63a1e0
of other architectures.
63a1e0
63a1e0
But not after AArch64 where it failed due to attempt of using x86-64
63a1e0
atomics code.
63a1e0
63a1e0
https://github.com/doxygen/doxygen/pull/402
63a1e0
63a1e0
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
63a1e0
---
63a1e0
 addon/doxywizard/CMakeLists.txt | 2 +-
63a1e0
 1 file changed, 1 insertion(+), 1 deletion(-)
63a1e0
63a1e0
diff --git a/addon/doxywizard/CMakeLists.txt b/addon/doxywizard/CMakeLists.txt
63a1e0
index eb97388..9971679 100644
63a1e0
--- a/addon/doxywizard/CMakeLists.txt
63a1e0
+++ b/addon/doxywizard/CMakeLists.txt
63a1e0
@@ -45,7 +45,7 @@ include_directories(
63a1e0
 set(GENERATED_SRC_WIZARD ${GENERATED_SRC}/doxywizard)
63a1e0
 file(MAKE_DIRECTORY ${GENERATED_SRC_WIZARD})
63a1e0
 
63a1e0
-add_definitions(-DQT_ARCH_X86_64 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DUNICODE)
63a1e0
+add_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DUNICODE)
63a1e0
 if (NOT Qt5Core_FOUND)
63a1e0
   include(${QT_USE_FILE})
63a1e0
 endif()
63a1e0
-- 
63a1e0
2.6.0
63a1e0