- 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)
11 lines
250 B
C
11 lines
250 B
C
--- src/sockmsg.c.orig 2008-05-02 16:05:30.000000000 +0200
|
|
+++ src/sockmsg.c 2013-09-13 17:59:53.072457158 +0200
|
|
@@ -276,7 +276,7 @@
|
|
|
|
fd_close(fd);
|
|
|
|
- if(readsize<4) return;
|
|
+ if(readsize<4) return(0);
|
|
|
|
strncpy(tmp,buf,2);
|
|
mode=atoi(tmp);
|