diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-10 00:07:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-10 00:07:53 +0100 |
commit | 024d1b6f101ade7073320fba887d4808c933a8e8 (patch) | |
tree | 421168a6409273df1171f750816ce32dc2779a4f /sci-visualization/gnuplot/files | |
parent | 4e4ee9865a958b6a854f9bca96637244c628d525 (diff) |
gentoo auto-resync : 10:10:2023 - 00:07:53
Diffstat (limited to 'sci-visualization/gnuplot/files')
-rw-r--r-- | sci-visualization/gnuplot/files/gnuplot-5.4.9-unbal-braces.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.4.9-unbal-braces.patch b/sci-visualization/gnuplot/files/gnuplot-5.4.9-unbal-braces.patch new file mode 100644 index 000000000000..3261f60e61c1 --- /dev/null +++ b/sci-visualization/gnuplot/files/gnuplot-5.4.9-unbal-braces.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/915492 +Patch from upstream branch-5-4-stable branch + +commit b5b668ca442e0d7399e2b432fe5fe5fb4c48a1a2 +Author: Peter Korsgaard <peter@korsgaard.com> +Date: Sun Oct 1 10:20:31 2023 +0200 + + term/post.trm: unbreak !HAVE_DEFLATE_ENCODER builds + +--- a/term/post.trm ++++ b/term/post.trm +@@ -4000,17 +4000,16 @@ PS_image (unsigned int M, unsigned int N, coordval *image, gpiPoint *corner, t_i + cscale = 1.0; + + #ifdef HAVE_DEFLATE_ENCODER +- if (ps_params->level3) { ++ if (ps_params->level3) + encoded_image = (void *)PS_encode_png_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + &num_encoded_bytes); +- } else { ++ else + #endif + encoded_image = PS_encode_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + (ps_params->level1 ? PS_ASCII_HEX : PS_ASCII85), + &num_encoded_bytes); +- } + + + fputs("%%%%BeginImage\n", gppsfile); |