void-packages/srcpkgs/mame/patches/0002-internal-cbegin-cend.patch
Jürgen Buchmüller 5efe8eeb99 mame: update to 0.172
MAME finally switched to GPL-2.0
2016-04-01 18:06:02 +02:00

13 lines
427 B
Diff

--- src/lib/util/strformat.h 2016-03-30 11:03:03.000000000 +0200
+++ src/lib/utils/strformat.h 2016-03-31 03:15:28.076259871 +0200
@@ -185,7 +185,8 @@
#include <type_traits>
#include <utility>
-#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413)
+#if (defined(USE_INTERNAL_CBEGIN_CEND) && USE_INTERNAL_CBEGIN_CEND) || \
+ (defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413))
namespace std
{
template<class _Container>