summaryrefslogtreecommitdiff
path: root/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tex-pdfcrop/patches/patch-bin_pdfcrop')
-rw-r--r--graphics/tex-pdfcrop/patches/patch-bin_pdfcrop10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop b/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop
index 4afb50d22ef..c5a5cae7341 100644
--- a/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop
+++ b/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop
@@ -1,12 +1,12 @@
-$NetBSD: patch-bin_pdfcrop,v 1.1.1.1 2011/10/27 18:05:13 minskim Exp $
+$NetBSD: patch-bin_pdfcrop,v 1.2 2015/04/21 23:41:27 markd Exp $
---- bin/pdfcrop.orig 2011-10-27 17:31:01.000000000 +0000
+--- bin/pdfcrop.orig 2012-11-04 23:01:42.000000000 +0000
+++ bin/pdfcrop
-@@ -118,6 +118,7 @@ $archname = 'unknown' unless defined $Co
+@@ -141,6 +141,7 @@ sub exterr () {
# get Ghostscript command name
$::opt_gscmd = '';
sub find_ghostscript () {
+ $::opt_gscmd = "@GHOSTSCRIPT@";
return if $::opt_gscmd;
- my $system = 'unix';
- $system = "dos" if $^O =~ /dos/i;
+ if ($::opt_debug) {
+ print "* Perl executable: $^X\n";