aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2011-09-21 01:26:58 +0800
committerrene <rene@FreeBSD.org>2011-09-21 01:26:58 +0800
commiteea5dd0463835ea2beb8e89e184ba571ffc07b77 (patch)
tree2bf3cbab5dfc464ef5eff28688dd2dc5d4aca176 /print
parentfa47088e88a91ab96e3c72c5b3aef4bf006ccf64 (diff)
downloadfreebsd-ports-gnome-eea5dd0463835ea2beb8e89e184ba571ffc07b77.tar.gz
freebsd-ports-gnome-eea5dd0463835ea2beb8e89e184ba571ffc07b77.tar.zst
freebsd-ports-gnome-eea5dd0463835ea2beb8e89e184ba571ffc07b77.zip
Fix build with clang.
PR: ports/159895 Submitted by: myself Approved by: maintainer timeout (hrs, one month)
Diffstat (limited to 'print')
-rw-r--r--print/teTeX-base/files/patch-texk-ps2kpm-type1.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/teTeX-base/files/patch-texk-ps2kpm-type1.c b/print/teTeX-base/files/patch-texk-ps2kpm-type1.c
new file mode 100644
index 000000000000..a2d7ee91de20
--- /dev/null
+++ b/print/teTeX-base/files/patch-texk-ps2kpm-type1.c
@@ -0,0 +1,11 @@
+--- texk/ps2pkm/type1.c.orig 1999-02-06 23:00:18.000000000 +0100
++++ texk/ps2pkm/type1.c 2011-08-18 23:02:17.000000000 +0200
+@@ -800,7 +800,7 @@
+ static DOUBLE PSFakePop ()
+ {
+ if (PSFakeTop >= 0) return(PSFakeStack[PSFakeTop--]);
+- else Error0("PSFakePop : Stack empty\n");
++ else { CC; IfTrace0(TRUE, "PSFakePop : Stack empty\n"); errflag = TRUE; return 0; }
+ /*NOTREACHED*/
+ }
+