diff options
| author | Adam Joseph <adam@westernsemico.com> | 2023-01-23 11:45:43 -0800 |
|---|---|---|
| committer | Adam Joseph <adam@westernsemico.com> | 2023-01-23 11:47:15 -0800 |
| commit | 9e2e7f3bc2cdbbcd81c895c392e4b4fe2eeaf288 (patch) | |
| tree | b1a4eec9325634a47647e74ab857a10e7870ef83 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | cfb180c2f0b894de48fbd79dd3808f4549aced89 (diff) | |
wlroots: backport patch for free() of ununitialized
This cherrypicks an upstream-but-unreleased commit for the following
build failure. Strangely, this warning is not emittted on x86_64.
FAILED: libwlroots.so.11.p/render_egl.c.o
gcc -Ilibwlroots.so.11.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shade
../render/egl.c: In function 'egl_init_display':
../render/egl.c:179:17: error: 'external_only' may be used uninitialized in this function [-Werror=maybe-uninitialized]
179 | free(external_only);
| ^~~~~~~~~~~~~~~~~~~
../render/egl.c:128:29: note: 'external_only' was declared here
128 | EGLBoolean *external_only;
| ^~~~~~~~~~~~~
../render/egl.c:178:17: error: 'modifiers' may be used uninitialized in this function [-Werror=maybe-uninitialized]
178 | free(modifiers);
| ^~~~~~~~~~~~~~~
../render/egl.c:127:27: note: 'modifiers' was declared here
127 | uint64_t *modifiers;
| ^~~~~~~~~
cc1: all warnings being treated as errors
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
