1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/print/mp-letter/files/patch-ab

28 lines
1.1 KiB
Plaintext
Raw Normal View History

--- input.cc.orig Sun Aug 1 13:28:22 1993
+++ input.cc Sat Jan 29 17:59:31 2000
@@ -134,6 +134,8 @@
else if (!argcmp(argv[i], "-from", 4)) // Print originators name.
print_orig = 1 ;
+ else if (!argcmp(argv[i], "-F", 2)) // backward compatiblity
+ print_orig = 1 ;
else if (!argcmp(argv[i], "-help", 2)) // Print usage message.
usage() ;
@@ -273,11 +275,11 @@
case DO_TEXT : prt.message_for = "Listing for ";
digest = 0 ;
break ;
- case DO_MAIL : prt.message_for = digest ? "Mail digest for "
- : "Mail for " ;
+ case DO_MAIL : prt.message_for = digest ? (char *) "Mail digest for "
+ : (char *) "Mail for " ;
break ;
- case DO_NEWS : prt.message_for = digest ? "News digest for "
- : "News for " ;
+ case DO_NEWS : prt.message_for = digest ? (char *) "News digest for "
+ : (char *) "News for " ;
break ;
}
}