- Fix build with clang/libc++ ([2] for graphics/ipe) While here for databases/spatialite: - Trim Makefile headers - Remove check for unsupported FreeBSD versions Submitted by: marino [1] Reported by: swills, antoine [1] Submitted by: bsam [2] Approved by: portmgr (bapt, implicit)
20 lines
408 B
C
20 lines
408 B
C
--- src/mail.c.orig 2008-05-24 01:14:42.000000000 +0200
|
|
+++ src/mail.c 2013-09-13 17:37:30.649560538 +0200
|
|
@@ -1422,7 +1422,7 @@
|
|
froms=strbuf(NULL);
|
|
|
|
if((fp=fopen(mascot->mail.file,"r"))==NULL){
|
|
- return;
|
|
+ return(NULL);
|
|
}
|
|
|
|
while(!feof(fp)){
|
|
@@ -1545,7 +1545,7 @@
|
|
froms=strbuf(NULL);
|
|
|
|
if ((dp=opendir(mascot->mail.file))==NULL){
|
|
- return;
|
|
+ return(NULL);
|
|
}
|
|
|
|
|