diff options
author | 2017-02-11 21:11:59 +0100 | |
---|---|---|
committer | 2017-02-11 21:11:59 +0100 | |
commit | 937c6df1eab95be77c21ac44aeeb399525944751 (patch) | |
tree | bd4f86775e82c615271d7fad670ed9a75c590a99 /net-print/poster/files | |
parent | app-text/enscript: Honor AR setting, bug 447620 (diff) | |
download | gentoo-937c6df1eab95be77c21ac44aeeb399525944751.tar.gz gentoo-937c6df1eab95be77c21ac44aeeb399525944751.tar.bz2 gentoo-937c6df1eab95be77c21ac44aeeb399525944751.zip |
net-print/poster: Add patch for bug 471270, thanks to quazgar@posteo.de
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-print/poster/files')
-rw-r--r-- | net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch b/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch new file mode 100644 index 000000000000..52584a9507a3 --- /dev/null +++ b/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch @@ -0,0 +1,19 @@ +See https://bugs.gentoo.org/show_bug.cgi?id=471270 + +--- a/poster.c 2013-05-25 21:41:53.000000000 +0200 ++++ b/poster.c 2013-05-25 21:43:41.000000000 +0200 +@@ -812,8 +812,12 @@ + if (!strncmp( c, "(atend)", 7)) atend = 1; + else + { /* pass this DSC to output */ +- puts( buf); +- dsc_cont = 1; ++ /* if it is not another DocumentMedia comment */ ++ if (strncmp( buf, "%%DocumentMedia", 15)) ++ { ++ puts( buf); ++ dsc_cont = 1; ++ } + } + } + else if ( !strncmp( buf, "%%Pages:", 8 ) ) |