gentoo-ebuilds/media-gfx/mscgen/files/mscgen-0.20-uninitialized-ymax.patch
Sam James eab3a00efc
media-gfx/mscgen: update EAPI 7 -> 8, unrestrict tests, pull in Fedora/Debian patches
* EAPI 8
* Unrestict tests, which exposes a crash!
* Pull in Fedora/Debian patches to fix aforementioned crash

Closes: https://bugs.gentoo.org/379279
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-30 12:10:22 +01:00

14 lines
361 B
Diff

https://src.fedoraproject.org/rpms/mscgen/blob/rawhide/f/mscgen-0.20-uninitialized-ymax.patch
# Fixes 'ymax' variable initialization
# http://code.google.com/p/mscgen/issues/detail?id=73
--- a/src/main.c
+++ b/src/main.c
@@ -851,6 +851,7 @@
nextYmin = ymin = gOpts.entityHeadGap;
yskipmax = 0;
+ ymax = 0;
MscResetArcIterator(m);
do