summaryrefslogtreecommitdiff
path: root/lang/ptoc/files/patch-main.cxx
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-09-24 13:32:25 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-09-24 13:32:25 +0000
commit4c52f6c9333e53a81e2b4780543606958b306821 (patch)
treecca55e9cc2dd9ef46d3603b0ec6f1696b376196e /lang/ptoc/files/patch-main.cxx
parentUpdate to version 3.0.5. (diff)
Update to 3.54.
Utilize ${DOCSDIR} and ${EXAMPLESDIR}. Use new name schema for patch files. Fix ${MASTER_SITES} and home page URL. Take maintainership.
Notes
Notes: svn path=/head/; revision=89217
Diffstat (limited to 'lang/ptoc/files/patch-main.cxx')
-rw-r--r--lang/ptoc/files/patch-main.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ptoc/files/patch-main.cxx b/lang/ptoc/files/patch-main.cxx
new file mode 100644
index 000000000000..617a95ee998a
--- /dev/null
+++ b/lang/ptoc/files/patch-main.cxx
@@ -0,0 +1,13 @@
+--- main.cxx.orig Thu Sep 23 23:35:38 1999
++++ main.cxx Sat Oct 21 04:11:00 2000
+@@ -326,8 +326,8 @@
+ compile_system_library = TRUE;
+ #ifdef PREFIX
+ token::input(turbo_pascal
+- ? PREFIX "/share/ptoc/tptoc.pas"
+- : PREFIX "/share/ptoc/ptoc.pas"));
++ ? (char *) PREFIX "/share/ptoc/tptoc.pas"
++ : (char *) PREFIX "/share/ptoc/ptoc.pas");
+ #else
+ token::input(dprintf("%s%s", prog_path,
+ turbo_pascal ? "tptoc.pas" : "ptoc.pas"));