From 7996e55281ff273a4d933f36e64bcb50f330fe9e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 13 Jun 2017 19:04:52 +0200 Subject: squid: update to 3.5.26, fix gcc 7.1 compile issue --- package/squid/patches/patch-include_SquidNew_h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/squid/patches/patch-include_SquidNew_h (limited to 'package/squid/patches/patch-include_SquidNew_h') 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 + +-_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); + } -- cgit v1.2.3