mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
28325030d6
Submitted by: Alexander Langer <alex@big.endian.de>
23 lines
841 B
Plaintext
23 lines
841 B
Plaintext
--- main.cxx.orig Fri Nov 6 09:19:54 1998
|
|
+++ main.cxx Sat Feb 12 17:25:53 2000
|
|
@@ -279,7 +279,7 @@
|
|
prog_path = (p != NULL) ? dprintf("%.*s", p + 1 - argv[0], argv[0]) : "";
|
|
#else
|
|
char* p = strrchr(argv[0], '/');
|
|
- prog_path = (p != NULL) ? dprintf("%.*s", p + 1 - argv[0], argv[0]) : "";
|
|
+ prog_path = (p != NULL) ? dprintf("%.*s", p + 1 - argv[0], argv[0]) : (char *) "";
|
|
#endif
|
|
#endif
|
|
i_path = dprintf("%s:%s", i_path, prog_path);
|
|
@@ -318,8 +318,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"));
|