mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
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>
This commit is contained in:
+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
|
[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 <raj.khem@gmail.com>
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
---
|
---
|
||||||
filter/pdftoraster.cxx | 4 ++++
|
filter/pdftoraster.cxx | 4 ++++
|
||||||
@@ -17,11 +17,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|||||||
|
|
||||||
diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx
|
diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx
|
||||||
index e8af184fb..e91e22459 100755
|
index e8af184fb..e91e22459 100755
|
||||||
@@ -2198,7 +2198,11 @@
|
@@ -2199,11 +2199,11 @@
|
||||||
// For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW
|
// For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW
|
||||||
// should be used as a guard, otherwise use traditional definition
|
// should be used as a guard, otherwise use traditional definition
|
||||||
#ifndef _GLIBCXX_THROW
|
#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
|
+#if __cplusplus < 201703L
|
||||||
+#define _GLIBCXX_THROW throw
|
+#define _GLIBCXX_THROW throw
|
||||||
+#else
|
+#else
|
||||||
@@ -30,7 +34,3 @@ index e8af184fb..e91e22459 100755
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc)
|
void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc)
|
||||||
|
|
||||||
--
|
|
||||||
2.39.1
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ SRC_URI = " \
|
|||||||
https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
|
https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
|
||||||
file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch \
|
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
|
inherit autotools gettext pkgconfig github-releases
|
||||||
|
|
||||||
Reference in New Issue
Block a user