diff options
author | Alexey Neyman <stilor@att.net> | 2022-02-10 18:00:59 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2022-02-11 00:47:51 -0800 |
commit | 86c2982568de1ad4d4cc12a65b19231331484405 (patch) | |
tree | 2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/duma | |
parent | 1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff) | |
download | crosstool-ng-86c2982568de1ad4d4cc12a65b19231331484405.tar.gz crosstool-ng-86c2982568de1ad4d4cc12a65b19231331484405.tar.bz2 crosstool-ng-86c2982568de1ad4d4cc12a65b19231331484405.zip |
Run patches thru `manage-packages -P`
This refreshes the line numbers, removes any fuzz (which would make any
future forward ports easier) and standardizes the patch/file headers
(which makes them easier to read).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/duma')
-rw-r--r-- | packages/duma/2_5_15/0003-cpp17_throw.patch (renamed from packages/duma/2_5_15/0003_cpp17_throw.patch) | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/packages/duma/2_5_15/0003_cpp17_throw.patch b/packages/duma/2_5_15/0003-cpp17_throw.patch index d61bd495..f468c5db 100644 --- a/packages/duma/2_5_15/0003_cpp17_throw.patch +++ b/packages/duma/2_5_15/0003-cpp17_throw.patch @@ -1,5 +1,9 @@ ---- a/testoperators.cpp 2009-03-17 16:04:43.000000000 -0700 -+++ b/testoperators.cpp 2021-05-01 01:15:25.385421628 -0700 +--- + testoperators.cpp | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +--- a/testoperators.cpp ++++ b/testoperators.cpp @@ -37,26 +37,26 @@ { public: @@ -9,14 +13,14 @@ void * operator new( DUMA_SIZE_T , const std::nothrow_t & ) throw(); void operator delete( void * ) throw(); void operator delete( void * , const std::nothrow_t & ) throw(); - + /* 2x : ARRAY OBJECT FORM - NO DEBUG INFORMATION */ - void * operator new[]( DUMA_SIZE_T ) throw(std::bad_alloc); + void * operator new[]( DUMA_SIZE_T ) NEW_THROW_SPEC; void * operator new[]( DUMA_SIZE_T , const std::nothrow_t & ) throw(); void operator delete[]( void * ) throw(); void operator delete[]( void *, const std::nothrow_t & ) throw(); - + #ifndef DUMA_NO_LEAKDETECTION /* 3x : SINGLE OBJECT FORM - WITH DEBUG INFORMATION */ - void * operator new( DUMA_SIZE_T, const char *, int ) throw( std::bad_alloc ); @@ -24,7 +28,7 @@ void * operator new( DUMA_SIZE_T, const std::nothrow_t &, const char *, int ) throw(); void operator delete( void *, const char *, int ) throw(); void operator delete( void *, const std::nothrow_t &, const char *, int ) throw(); - + /* 4x : ARRAY OBJECT FORM - WITH DEBUG INFORMATION */ - void * operator new[]( DUMA_SIZE_T, const char *, int ) throw( std::bad_alloc ); + void * operator new[]( DUMA_SIZE_T, const char *, int ) NEW_THROW_SPEC; @@ -33,7 +37,7 @@ void operator delete[]( void *, const std::nothrow_t &, const char *, int ) throw(); @@ -70,7 +70,7 @@ /* 1x : SINGLE OBJECT FORM - NO DEBUG INFORMATION */ - + void * optest::operator new( DUMA_SIZE_T s ) -throw(std::bad_alloc) +NEW_THROW_SPEC @@ -41,7 +45,7 @@ (void)s; return ::new optest; @@ -101,7 +101,7 @@ - + /* 2x : ARRAY OBJECT FORM - NO DEBUG INFORMATION */ void * optest::operator new[]( DUMA_SIZE_T s ) -throw(std::bad_alloc) @@ -50,7 +54,7 @@ return ::new optest[ s / sizeof(optest) ]; // "s / sizeof()" not correct but works for this test } @@ -129,7 +129,7 @@ - + /* 3x : SINGLE OBJECT FORM - WITH DEBUG INFORMATION */ void * optest::operator new( DUMA_SIZE_T s, const char * f, int l ) -throw( std::bad_alloc ) @@ -59,7 +63,7 @@ (void)s; return ::new(f,l) optest; @@ -157,7 +157,7 @@ - + /* 4x : ARRAY OBJECT FORM - WITH DEBUG INFORMATION */ void * optest::operator new[]( DUMA_SIZE_T s, const char * f, int l ) -throw( std::bad_alloc ) |