diff options
Diffstat (limited to 'office/mtp2-fonts/mtp2-fonts.SlackBuild')
-rw-r--r-- | office/mtp2-fonts/mtp2-fonts.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/office/mtp2-fonts/mtp2-fonts.SlackBuild b/office/mtp2-fonts/mtp2-fonts.SlackBuild index b4429c26c0..dc76fa06fb 100644 --- a/office/mtp2-fonts/mtp2-fonts.SlackBuild +++ b/office/mtp2-fonts/mtp2-fonts.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mtp2-fonts -# Copyright 2017, Alexander Verbovetsky, Moscow, Russia +# Copyright 2017-2020, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=mtp2-fonts VERSION=${VERSION:-2.1a} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -55,6 +55,11 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; rm -r texmf/dvips + +sed --in-place \ + -e 's/^\\alloc@0\\count\\countdef\\insc@unt/\\newcount/' \ + texmf/tex/latex/mtpro2/mtpro2.sty + find . \ \( -name "*.txt" -o -name "*.tex" -o -name "*.fd" -o -name "*.map" \ -o -name "*.sty" -o -name "*.tpm" \) -exec sed -i 's/\r$//' {} \; |