diff --git a/config_bundles/debian_buster/patch_order.list b/config_bundles/debian_buster/patch_order.list index 02c0bbdc..00f20462 100644 --- a/config_bundles/debian_buster/patch_order.list +++ b/config_bundles/debian_buster/patch_order.list @@ -8,4 +8,5 @@ debian_buster/system/convertutf.patch debian_buster/debianization/sandbox.patch debian_buster/debianization/master-preferences.patch +ungoogled-chromium/linux/fix-nullptr-t-namespace.patch ungoogled-chromium/linux/manpage.patch diff --git a/config_bundles/debian_stretch/patch_order.list b/config_bundles/debian_stretch/patch_order.list index 1bc4003c..711054a3 100644 --- a/config_bundles/debian_stretch/patch_order.list +++ b/config_bundles/debian_stretch/patch_order.list @@ -14,4 +14,5 @@ debian_buster/debianization/sandbox.patch debian_buster/debianization/master-preferences.patch ungoogled-chromium/linux/fix-libva1-compatibility.patch +ungoogled-chromium/linux/fix-nullptr-t-namespace.patch ungoogled-chromium/linux/manpage.patch diff --git a/patches/ungoogled-chromium/linux/fix-nullptr-t-namespace.patch b/patches/ungoogled-chromium/linux/fix-nullptr-t-namespace.patch new file mode 100644 index 00000000..8094cd8c --- /dev/null +++ b/patches/ungoogled-chromium/linux/fix-nullptr-t-namespace.patch @@ -0,0 +1,13 @@ +# Fix namespace of nullptr_t for libstdc++ + +--- a/content/public/test/browser_test_utils.h ++++ b/content/public/test/browser_test_utils.h +@@ -605,7 +605,7 @@ bool operator>(const T& a, const EvalJsR + return b.error.empty() && (JsLiteralHelper::Convert(a) > b.value); + } + +-inline bool operator==(nullptr_t a, const EvalJsResult& b) { ++inline bool operator==(std::nullptr_t a, const EvalJsResult& b) { + return b.error.empty() && (base::Value() == b.value); + } +