File 0002-Consider-gcc-in-SUSE-can-handle-dynamic_cast.patch of Package xplatproviders
From 109ff55c8760a8d06c8e19cc0c0c36d767144e64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Thu, 31 May 2012 17:39:19 +0200
Subject: [PATCH 2/4] Consider gcc in SUSE can handle dynamic_cast
---
source/code/include/scxcorelib/scxcmn.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/code/include/scxcorelib/scxcmn.h b/source/code/include/scxcorelib/scxcmn.h
index 24a8afb..502668c 100644
--- a/source/code/include/scxcorelib/scxcmn.h
+++ b/source/code/include/scxcorelib/scxcmn.h
@@ -175,7 +175,7 @@ typedef uint64_t scxulong;
/* Include scxcompat.h so it can be used without special requirements */
#include <scxcorelib/scxcompat.h>
-#if !defined(sun) && !defined(aix) && !(defined(PF_DISTRO_SUSE) && PF_MAJOR==11)
+#if !defined(sun) && !defined(aix) && !defined(PF_DISTRO_SUSE)
// this macro disables dynamic_cast, since t causes problems on aix 5.3 - see wi 11149, 11220
#define dynamic_cast sorry_but_dynamic_cast_is_not_allowed_in_core_project_see_wi_11220
--
1.7.9.2