diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-19 20:08:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-19 20:08:27 +0000 |
commit | 2b2f431a0021b4787ca3c028cefb30ad81347778 (patch) | |
tree | 951e0155f53027c8fd29eaba26df4f08292668d5 /dev-debug/duma/files | |
parent | d725480af7cbc67d784e5d96f973fa41e9030123 (diff) |
gentoo auto-resync : 19:01:2024 - 20:08:27
Diffstat (limited to 'dev-debug/duma/files')
-rw-r--r-- | dev-debug/duma/files/duma-2.5.15-gcc6.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-debug/duma/files/duma-2.5.15-gcc6.patch b/dev-debug/duma/files/duma-2.5.15-gcc6.patch new file mode 100644 index 000000000000..7cffef2b4e2c --- /dev/null +++ b/dev-debug/duma/files/duma-2.5.15-gcc6.patch @@ -0,0 +1,22 @@ +--- duma_2_5_15/dumapp.cpp.old 2016-09-21 19:28:01.286332961 -0400 ++++ duma_2_5_15/dumapp.cpp 2016-09-21 19:28:06.722907238 -0400 +@@ -190,7 +190,9 @@ + * (11) = (a) ; ASW + */ + void * DUMA_CDECL operator new( DUMA_SIZE_T size ) ++#if __cplusplus < 201103L + throw(std::bad_alloc) ++#endif + { + return duma_new_operator(size, EFA_NEW_ELEM, true DUMA_PARAMS_UK); + } +@@ -254,7 +256,9 @@ + * (21) = (a) ; AAW + */ + void * DUMA_CDECL operator new[]( DUMA_SIZE_T size ) ++#if __cplusplus < 201103L + throw(std::bad_alloc) ++#endif + { + return duma_new_operator(size, EFA_NEW_ARRAY, true DUMA_PARAMS_UK); + } |