diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-games/mygui/files | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-games/mygui/files')
-rw-r--r-- | dev-games/mygui/files/mygui-3.2.2-c++17.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-games/mygui/files/mygui-3.2.2-c++17.patch b/dev-games/mygui/files/mygui-3.2.2-c++17.patch new file mode 100644 index 000000000000..1cdf7babeb12 --- /dev/null +++ b/dev-games/mygui/files/mygui-3.2.2-c++17.patch @@ -0,0 +1,27 @@ +https://github.com/MyGUI/mygui/commit/ced30dac10082ff9593a2c971d26b3aebce6b2be.patch +https://bugs.gentoo.org/732778 + +Part of: + +From ced30dac10082ff9593a2c971d26b3aebce6b2be Mon Sep 17 00:00:00 2001 +From: George Evmenov <george.evmenov@geocv.com> +Date: Fri, 26 Jun 2015 12:25:26 +0300 +Subject: [PATCH] do not use nullptr define + +--- a/MyGUIEngine/include/MyGUI_Prerequest.h ++++ b/MyGUIEngine/include/MyGUI_Prerequest.h +@@ -19,13 +19,7 @@ + #define MYGUI_DEFINE_VERSION(major, minor, patch) ((major << 16) | (minor << 8) | patch) + + #ifndef MYGUI_DONT_REPLACE_NULLPTR +-# if MYGUI_COMPILER == MYGUI_COMPILER_MSVC +-# ifndef _MANAGED +-# ifndef _NATIVE_NULLPTR_SUPPORTED +-# define nullptr 0 +-# endif +-# endif +-# else ++# if __cplusplus < 201103L && !defined(_NATIVE_NULLPTR_SUPPORTED) + # define nullptr 0 + # endif + #endif |