diff options
author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-07 20:05:58 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-10-07 20:32:40 -0700 |
commit | afa4cf551fd02f8b462d5e13f59ddc865fd2922d (patch) | |
tree | fc80ea19940b1173f6e07cbaa464e20cd161ba69 | |
parent | c6f1e142933bc5784717ae8f54e9fed65e1a7cc3 (diff) | |
download | meta-openembedded-afa4cf551fd02f8b462d5e13f59ddc865fd2922d.tar.gz |
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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-printing/cups/libcupsfilters/0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch | 14 | ||||
-rw-r--r-- | meta-oe/recipes-printing/cups/libcupsfilters_2.1.1.bb (renamed from meta-oe/recipes-printing/cups/libcupsfilters_2.0.0.bb) | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/meta-oe/recipes-printing/cups/libcupsfilters/0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch b/meta-oe/recipes-printing/cups/libcupsfilters/0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch index 72bbf10a14..0e0eb731a5 100644 --- a/meta-oe/recipes-printing/cups/libcupsfilters/0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch +++ b/meta-oe/recipes-printing/cups/libcupsfilters/0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch | |||
@@ -9,7 +9,7 @@ throw(whatever) with noexcept(false). | |||
9 | 9 | ||
10 | [1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html | 10 | [1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html |
11 | 11 | ||
12 | Upstream-Status: Submitted [https://github.com/OpenPrinting/cups-filters/pull/505] | 12 | Upstream-Status: Backport [https://github.com/OpenPrinting/cups-filters/commit/2076627d33477212f21352ad39e9d305adb63af3] |
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | --- | 14 | --- |
15 | filter/pdftoraster.cxx | 4 ++++ | 15 | filter/pdftoraster.cxx | 4 ++++ |
@@ -17,11 +17,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
17 | 17 | ||
18 | diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx | 18 | diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx |
19 | index e8af184fb..e91e22459 100755 | 19 | index e8af184fb..e91e22459 100755 |
20 | @@ -2198,7 +2198,11 @@ | 20 | @@ -2199,11 +2199,11 @@ |
21 | // For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW | 21 | // For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW |
22 | // should be used as a guard, otherwise use traditional definition | 22 | // should be used as a guard, otherwise use traditional definition |
23 | #ifndef _GLIBCXX_THROW | 23 | #ifndef _GLIBCXX_THROW |
24 | -#define _GLIBCXX_THROW throw | 24 | -# if __cplusplus >= 201103L |
25 | -# define _GLIBCXX_THROW(_EXC) | ||
26 | -# else | ||
27 | -# define _GLIBCXX_THROW(_EXC) throw(_EXC) | ||
28 | -# endif | ||
25 | +#if __cplusplus < 201703L | 29 | +#if __cplusplus < 201703L |
26 | +#define _GLIBCXX_THROW throw | 30 | +#define _GLIBCXX_THROW throw |
27 | +#else | 31 | +#else |
@@ -30,7 +34,3 @@ index e8af184fb..e91e22459 100755 | |||
30 | #endif | 34 | #endif |
31 | 35 | ||
32 | void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc) | 36 | void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc) |
33 | |||
34 | -- | ||
35 | 2.39.1 | ||
36 | |||
diff --git a/meta-oe/recipes-printing/cups/libcupsfilters_2.0.0.bb b/meta-oe/recipes-printing/cups/libcupsfilters_2.1.1.bb index 7f7174d940..51d8c4f18b 100644 --- a/meta-oe/recipes-printing/cups/libcupsfilters_2.0.0.bb +++ b/meta-oe/recipes-printing/cups/libcupsfilters_2.1.1.bb | |||
@@ -9,7 +9,7 @@ SRC_URI = " \ | |||
9 | https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ | 9 | https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ |
10 | file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch \ | 10 | file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch \ |
11 | " | 11 | " |
12 | SRC_URI[sha256sum] = "542f2bfbc58136a4743c11dc8c86cee03c9aca705612654e36ac34aa0d9aa601" | 12 | SRC_URI[sha256sum] = "6c303e36cfde05a6c88fb940c62b6a18e7cdbfb91f077733ebc98f104925ce36" |
13 | 13 | ||
14 | inherit autotools gettext pkgconfig github-releases | 14 | inherit autotools gettext pkgconfig github-releases |
15 | 15 | ||