1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/mail/ftrack/files/patch-src-scd_do.cpp
Max Khon 4095d64e48 - Unbreak on RELENG_5/6
- Remove dependency on gcc 2.95 assuming that support for gcc 2.7.2
is dropped long time ago
- Bump PORTREVISION

Approved by:	portmgr, MAINTAINER
2005-08-19 13:01:21 +00:00

19 lines
557 B
C++

--- src/scd_do.cpp.orig Fri Aug 19 17:50:40 2005
+++ src/scd_do.cpp Fri Aug 19 17:51:06 2005
@@ -472,7 +472,7 @@
return FALSE;
}
CHP = 16101;
- while ((tmt = strchr(_Tpl->Body,'\n')) != NULL) *tmt = '\r';
+ while ((tmt = strchr((char *) _Tpl->Body,'\n')) != NULL) *tmt = '\r';
tmt = m._Body;
CHP = 16102;
m._Body = (char *) malloc(((tmt != NULL) ? strlen(tmt) : 0) + strlen(_Tpl->Body) + 1);
@@ -787,4 +787,4 @@
return TRUE;
}
-#endif
\ No newline at end of file
+#endif