summaryrefslogtreecommitdiff
path: root/print/tex-pkfix/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2010-01-16 03:48:32 +0000
committerminskim <minskim@pkgsrc.org>2010-01-16 03:48:32 +0000
commit08e56dfea8f26e80ddbd6332fbb14b2c059623d1 (patch)
tree31ba0f86e266a0b2f6cae8225c4b9916bf8500b7 /print/tex-pkfix/patches
parentfd2354e72c04d08e9bb3f1cca0c5fedf55ac2c53 (diff)
downloadpkgsrc-08e56dfea8f26e80ddbd6332fbb14b2c059623d1.tar.gz
Import tex-pkfix-1.5 as print/tex-pkfix.
The perl script pkfix looks for DVIPSBitmapFont comments in PostScript files, generated by 'not too old' dvips, and replaces them by type 1 versions of the fonts, if possible.
Diffstat (limited to 'print/tex-pkfix/patches')
-rw-r--r--print/tex-pkfix/patches/patch-aa24
1 files changed, 24 insertions, 0 deletions
diff --git a/print/tex-pkfix/patches/patch-aa b/print/tex-pkfix/patches/patch-aa
new file mode 100644
index 00000000000..0d515aa61c6
--- /dev/null
+++ b/print/tex-pkfix/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/01/16 03:48:32 minskim Exp $
+
+--- bin/pkfix.orig 2009-03-23 10:15:15.000000000 -0700
++++ bin/pkfix
+@@ -1,5 +1,4 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
+- if 0;
++#! /usr/bin/perl
+ use strict;
+ $^W=1; # turn warning on
+ #
+@@ -117,9 +116,9 @@ my $PRT = \*STDOUT;
+
+ ### option variables
+ my @bool = ("false", "true");
+-$::opt_tex = "tex";
+-$::opt_dvips = "dvips";
+-$::opt_kpsewhich = "kpsewhich --progname $project";
++$::opt_tex = "@TEX@";
++$::opt_dvips = "@DVIPS@";
++$::opt_kpsewhich = "@KPSEWHICH@ --progname $project";
+ $::opt_options = "-Ppdf -G0";
+ $::opt_usetex = 0;
+ $::opt_help = 0;