routine update to gpresent-2.5; OK pascal@ (MAINTAINER)
This commit is contained in:
parent
aac6ceb7be
commit
137d1af853
@ -1,11 +1,10 @@
|
|||||||
# $OpenBSD: Makefile,v 1.2 2016/05/07 12:40:58 pascal Exp $
|
# $OpenBSD: Makefile,v 1.3 2018/03/07 12:03:37 schwarze Exp $
|
||||||
|
|
||||||
COMMENT = make presentations with groff and PDF
|
COMMENT = make presentations with groff and PDF
|
||||||
DISTNAME = gpresent-2.3
|
DISTNAME = gpresent-2.5
|
||||||
CATEGORIES = textproc
|
CATEGORIES = textproc
|
||||||
HOMEPAGE = http://www.science.uva.nl/~bobd/useful/gpresent/
|
HOMEPAGE = https://staff.fnwi.uva.nl/b.diertens/useful/gpresent/
|
||||||
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
|
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
|
||||||
REVISION = 0
|
|
||||||
|
|
||||||
# GPLv2+
|
# GPLv2+
|
||||||
PERMIT_PACKAGE_CDROM = Yes
|
PERMIT_PACKAGE_CDROM = Yes
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (gpresent-2.3.tar.gz) = p2ubk5+BB9U9ejycH0A6OvI4aMHmsuYJ73CzDRLXDFE=
|
SHA256 (gpresent-2.5.tar.gz) = NTukz0zPe3VSF+bbtouwiwSo+a6trx/wHnv6KTomjs4=
|
||||||
SIZE (gpresent-2.3.tar.gz) = 119129
|
SIZE (gpresent-2.5.tar.gz) = 118063
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
$OpenBSD: patch-presentps,v 1.1.1.1 2014/08/31 17:28:35 schwarze Exp $
|
$OpenBSD: patch-presentps,v 1.2 2018/03/07 12:03:37 schwarze Exp $
|
||||||
Prevent document corruption when including EPS files.
|
Prevent document corruption when including nested EPS files.
|
||||||
--- presentps.orig Thu Feb 26 10:35:49 2004
|
Index: presentps
|
||||||
+++ presentps Fri Aug 29 20:26:23 2014
|
--- presentps.orig
|
||||||
@@ -393,8 +393,17 @@ foreach (@pre){
|
+++ presentps
|
||||||
|
@@ -453,8 +453,18 @@ foreach (@pre){
|
||||||
while (<>) {
|
while (<>) {
|
||||||
$pageln = $nextln;
|
$pageln = $nextln;
|
||||||
@page = ();
|
@page = ();
|
||||||
@ -10,6 +11,7 @@ Prevent document corruption when including EPS files.
|
|||||||
while (<>) {
|
while (<>) {
|
||||||
- if (/^EEND /) {
|
- if (/^EEND /) {
|
||||||
+ if (/^%%BeginDocument:/) {
|
+ if (/^%%BeginDocument:/) {
|
||||||
|
+ # prevent processing of included document
|
||||||
+ $embedded++;
|
+ $embedded++;
|
||||||
+ push @page, $_;
|
+ push @page, $_;
|
||||||
+ } elsif ($embedded) {
|
+ } elsif ($embedded) {
|
||||||
@ -21,3 +23,19 @@ Prevent document corruption when including EPS files.
|
|||||||
push @page, "EEND\n";
|
push @page, "EEND\n";
|
||||||
s/^EEND //;
|
s/^EEND //;
|
||||||
redo;
|
redo;
|
||||||
|
@@ -476,15 +486,6 @@ while (<>) {
|
||||||
|
s/ EP$//;
|
||||||
|
push @page, $_;
|
||||||
|
push @page, "EP\n";
|
||||||
|
- } elsif (/^%%BeginDocument:/) {
|
||||||
|
- # prevent processing of included document
|
||||||
|
- push @page, $_;
|
||||||
|
- while (<>) {
|
||||||
|
- push @page, $_;
|
||||||
|
- if (/^%%EndDocument$/) {
|
||||||
|
- last;
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
} elsif (/^%%Trailer$/) {
|
||||||
|
$lastpage = 1;
|
||||||
|
$nextln = $_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user