summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorLuna Nova <git@lunnova.dev>2025-09-22 17:46:57 -0700
committerLuna Nova <git@lunnova.dev>2025-09-22 19:08:30 -0700
commit5af48ce05c09affacbc4c3dbd3580e901a66161e (patch)
tree0b51c4b846e4d212bebe8aae99ac76aa387a0b5b /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent66a3cd62a865a35aa72d583137a2cce7b80ad8fb (diff)
electron: fix LLVM 21+ build by backporting patch
chromium <139's histogram_macros_internal.h contains a UB static cast that causes a compile error for LLVM 21+ return static_cast<Enum>(base::to_underlying(Enum::kMaxValue) + 1); → integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'LandlockState' → error: static assertion expression is not an integral constant expression UMA_HISTOGRAM_ENUMERATION("Security.Sandbox.LandlockState", landlock_state); applying upstream fix from https://chromium-review.googlesource.com/c/chromium/src/+/6633292 A static cast to an enum type that is outside the range of enum values was defined to be undefined behavior in February 2014 in https://cplusplus.github.io/CWG/issues/1766.html
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions