1 Star 0 Fork 7

misaka00251/asymptote

forked from src-openEuler/asymptote 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
asymptote-2.75-dvipdf-fixes.patch 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
misaka00251 提交于 2022-06-15 17:04 . asymptote: package init
diff -up asymptote-2.75/patches/dvipdf.dvipdf-fix asymptote-2.75/patches/dvipdf
--- asymptote-2.75/patches/dvipdf.dvipdf-fix 2022-01-06 16:59:44.000000000 -0500
+++ asymptote-2.75/patches/dvipdf 2022-01-11 16:33:29.616839931 -0500
@@ -1,5 +1,4 @@
#!/bin/sh
-# $Id$
# Convert DVI to PDF.
#
# Please contact Andrew Ford <A.Ford@ford-mason.co.uk> with any questions
@@ -12,7 +11,7 @@
GS_EXECUTABLE=gs
-OPTIONS="-DSAFER -P"
+OPTIONS=""
DVIPSOPTIONS=""
while true
do
@@ -31,7 +30,7 @@ do
done
if [ $# -lt 1 -o $# -gt 2 ]; then
- echo "Usage: `basename $0` [options...] input.dvi [output.pdf]" 1>&2
+ echo "Usage: `basename \"$0\"` [options...] input.dvi [output.pdf]" 1>&2
exit 1
fi
@@ -50,5 +49,5 @@ fi
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec dvips $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
+exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c 3000000 setvmthreshold -
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/misaka00251/asymptote.git
git@gitee.com:misaka00251/asymptote.git
misaka00251
asymptote
asymptote
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385