Update to psutils-2.02.

This commit is contained in:
ajacoutot 2020-04-10 10:57:35 +00:00
parent 43939fe0de
commit b148017dbb
3 changed files with 7 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.46 2020/01/08 11:08:36 pvk Exp $
# $OpenBSD: Makefile,v 1.47 2020/04/10 10:57:35 ajacoutot Exp $
PKG_ARCH= *
COMMENT= utilities for manipulating PostScript documents
V= 1.93
V= 2.02
DISTNAME= psutils-${V}
CATEGORIES= print

View File

@ -1,2 +1,2 @@
SHA256 (psutils-1.93.tar.gz) = SNouwb43msBdDT1de2IpwvpW37Qa6BH1EgAh6DLbIfQ=
SIZE (psutils-1.93.tar.gz) = 1241126
SHA256 (psutils-2.02.tar.gz) = 9tKnOHWB+3opOzq8eKlT8zWXVpSbGDjY3WBim3sBVJ4=
SIZE (psutils-2.02.tar.gz) = 1228475

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-PSUtils_pm,v 1.3 2020/01/05 11:15:49 ajacoutot Exp $
$OpenBSD: patch-PSUtils_pm,v 1.4 2020/04/10 10:57:36 ajacoutot Exp $
https://bugzilla.redhat.com/show_bug.cgi?id=1072371
Index: PSUtils.pm
--- PSUtils.pm.orig
+++ PSUtils.pm
@@ -59,7 +59,7 @@ sub singledimen {
@@ -60,7 +60,7 @@ sub singledimen {
# Get the size of the given paper, or the default paper if no argument given.
sub paper {
my ($cmd, $silent) = @_;
@ -14,7 +14,7 @@ Index: PSUtils.pm
my $out;
run3 $cmd, undef, \$out, $silent ? \undef : undef, {return_if_system_error=>1};
Die("could not run `paper' command") if $? == -1;
@@ -72,7 +72,7 @@ sub paper {
@@ -73,7 +73,7 @@ sub paper {
sub paper_size {
my ($paper_name) = @_;
chomp($paper_name = paper([])) unless defined($paper_name);