libcupsfilters: upgrade 2.0.0 -> 2.1.1
PATCH 1/1 libcupsfilters: upgrade 2.0.0 -> 2.1.1
This contains a fix for CVE-2024-47076
Changelog: https://github.com/OpenPrinting/libcupsfilters/blob/2.1.1/CHANGES.md
Signed-off-by Gyorgy Sarvari <[email protected]>
---
...t-false-instead-of-throw-from-c-17-onward.patch | 14 +++++++-------
...upsfilters_2.0.0.bb => libcupsfilters_2.1.1.bb} | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
rename meta-oe/recipes-printing/cups/{libcupsfilters_2.0.0.bb => libcupsfilters_2.1.1.bb} (86%)meta-oe/recipes-printing/cups/libcupsfilters/0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch +7 -7
@@ -9,7 +9,7 @@ throw(whatever) with noexcept(false). [1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html -Upstream-Status: Submitted [https://github.com/OpenPrinting/cups-filters/pull/505] +Upstream-Status: Backport [https://github.com/OpenPrinting/cups-filters/commit/2076627d33477212f21352ad39e9d305adb63af3] Signed-off-by: Khem Raj <[email protected]> --- filter/pdftoraster.cxx | 4 ++++
@@ -17,11 +17,15 @@ Signed-off-by: Khem Raj <[email protected]> diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx index e8af184fb..e91e22459 100755 -@@ -2198,7 +2198,11 @@ +@@ -2199,11 +2199,11 @@ // For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW // should be used as a guard, otherwise use traditional definition #ifndef _GLIBCXX_THROW --#define _GLIBCXX_THROW throw +-# if __cplusplus >= 201103L +-# define _GLIBCXX_THROW(_EXC) +-# else +-# define _GLIBCXX_THROW(_EXC) throw(_EXC) +-# endif +#if __cplusplus < 201703L +#define _GLIBCXX_THROW throw +#else
@@ -30,7 +34,3 @@ index e8af184fb..e91e22459 100755 #endif void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc) - --- -2.39.1 -
meta-oe/recipes-printing/cups/libcupsfilters_2.1.1.bb renamed from meta-oe/recipes-printing/cups/libcupsfilters_2.0.0.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI = " \ https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch \ " -SRC_URI[sha256sum] = "542f2bfbc58136a4743c11dc8c86cee03c9aca705612654e36ac34aa0d9aa601" +SRC_URI[sha256sum] = "6c303e36cfde05a6c88fb940c62b6a18e7cdbfb91f077733ebc98f104925ce36" inherit autotools gettext pkgconfig github-releases