mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix compile-time errors on -current.
This commit is contained in:
parent
5cb58533ad
commit
eba14b4985
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26054
1 changed files with 20 additions and 0 deletions
20
mail/mmr/files/patch-ae
Normal file
20
mail/mmr/files/patch-ae
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- mailmsg.cc.orig Sat Feb 19 21:38:48 2000
|
||||||
|
+++ mailmsg.cc Sat Feb 19 21:39:24 2000
|
||||||
|
@@ -190,7 +190,7 @@
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
schar =
|
||||||
|
- ((*status == ' ') ? "R" : status);
|
||||||
|
+ ((*status == ' ') ? (char *)"R" : status);
|
||||||
|
*sptr = *schar;
|
||||||
|
NewField("Status", schar);
|
||||||
|
status_written = 1;
|
||||||
|
@@ -208,7 +208,7 @@
|
||||||
|
char *schar;
|
||||||
|
sptr = new char[strlen("Status: ")+2+1];
|
||||||
|
strcpy(sptr, "Status: ");
|
||||||
|
- schar = ((*status == ' ') ? "R" : status);
|
||||||
|
+ schar = ((*status == ' ') ? (char *)"R" : status);
|
||||||
|
strcat(sptr, schar); strcat(sptr, "\n");
|
||||||
|
QueueRing(ringbuf, sptr, strlen(sptr));
|
||||||
|
delete[] sptr;
|
Loading…
Add table
Reference in a new issue