aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-02-01 07:17:32 +0800
committerobrien <obrien@FreeBSD.org>2000-02-01 07:17:32 +0800
commitbe4df5651c32a0f25e15110f4ce8fd05efba4bcc (patch)
tree8d4d97eb6be314af99f31ec1a12400cd2041b685 /print
parente8c9c906dd437872a3cb936447d60d91620ba3fe (diff)
downloadfreebsd-ports-gnome-be4df5651c32a0f25e15110f4ce8fd05efba4bcc.tar.gz
freebsd-ports-gnome-be4df5651c32a0f25e15110f4ce8fd05efba4bcc.tar.zst
freebsd-ports-gnome-be4df5651c32a0f25e15110f4ce8fd05efba4bcc.zip
Add casts to make this tolerable to an ISO-C++ compiler.
Submitted by: Alexander Langer <alex@big.endian.de>
Diffstat (limited to 'print')
-rw-r--r--print/mp-letter/files/patch-ab18
1 files changed, 17 insertions, 1 deletions
diff --git a/print/mp-letter/files/patch-ab b/print/mp-letter/files/patch-ab
index fb6c181acda6..25b166ad26f5 100644
--- a/print/mp-letter/files/patch-ab
+++ b/print/mp-letter/files/patch-ab
@@ -1,5 +1,5 @@
--- input.cc.orig Sun Aug 1 13:28:22 1993
-+++ input.cc Sat Aug 3 17:04:16 1996
++++ input.cc Sat Jan 29 17:59:31 2000
@@ -134,6 +134,8 @@
else if (!argcmp(argv[i], "-from", 4)) // Print originators name.
@@ -9,3 +9,19 @@
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 ;
+ }
+ }