aboutsummaryrefslogtreecommitdiff
path: root/lang/ptoc/files/patch-main.cxx
diff options
context:
space:
mode:
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"));