diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-13 19:04:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-13 19:05:50 +0200 |
commit | 7996e55281ff273a4d933f36e64bcb50f330fe9e (patch) | |
tree | 9482c43dfdf5083091f210fb597b1b5788ef814d /package/squid/patches/patch-include_SquidNew_h | |
parent | bc31076d386ef0342eff03469022f20478ffa1e1 (diff) |
squid: update to 3.5.26, fix gcc 7.1 compile issue
Diffstat (limited to 'package/squid/patches/patch-include_SquidNew_h')
-rw-r--r-- | package/squid/patches/patch-include_SquidNew_h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/squid/patches/patch-include_SquidNew_h b/package/squid/patches/patch-include_SquidNew_h new file mode 100644 index 000000000..8223c3cb1 --- /dev/null +++ b/package/squid/patches/patch-include_SquidNew_h @@ -0,0 +1,26 @@ +--- squid-3.5.26.orig/include/SquidNew.h 2017-06-01 15:49:00.000000000 +0200 ++++ squid-3.5.26/include/SquidNew.h 2017-06-13 03:13:51.928727436 +0200 +@@ -18,19 +18,19 @@ + */ + #include <new> + +-_SQUID_EXTERNNEW_ void *operator new(size_t size) throw (std::bad_alloc) ++_SQUID_EXTERNNEW_ void *operator new(size_t size) noexcept(false) + { + return xmalloc(size); + } +-_SQUID_EXTERNNEW_ void operator delete (void *address) throw() ++_SQUID_EXTERNNEW_ void operator delete (void *address) noexcept(true) + { + xfree(address); + } +-_SQUID_EXTERNNEW_ void *operator new[] (size_t size) throw (std::bad_alloc) ++_SQUID_EXTERNNEW_ void *operator new[] (size_t size) noexcept(false) + { + return xmalloc(size); + } +-_SQUID_EXTERNNEW_ void operator delete[] (void *address) throw() ++_SQUID_EXTERNNEW_ void operator delete[] (void *address) noexcept(true) + { + xfree(address); + } |