gentoo-ebuilds/media-gfx/mscgen/files/mscgen-0.20-escape.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

16 lines
889 B
Diff

https://src.fedoraproject.org/rpms/mscgen/blob/rawhide/f/mscgen-0.20-escape.patch
# Removes unknown escape sequence '\-'
# Patch sent upstream.
# http://code.google.com/p/mscgen/issues/detail?id=72
--- mscgen-0.20.orig/src/usage.c 2011-03-01 22:16:04.000000000 +0100
+++ mscgen-0.20/src/usage.c 2012-07-20 23:53:25.415071528 +0200
@@ -59,7 +59,7 @@ void Usage(void)
" command line.\n"
" -o <file> Write output to the named file. This option must be specified if \n"
" input is taken from stdin, otherwise the output filename\n"
-" defaults to <infile>.<type>. This may also be specified as '\-'\n"
+" defaults to <infile>.<type>. This may also be specified as '-'\n"
" to write output directly to stdout.\n"
#ifdef USE_FREETYPE
" -F <font> Use specified font for PNG output. This must be a font specifier\n"