Date: Wed, 18 Sep 2013 08:20:02 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327533 - in head: comms/conserver/files net/44bsd-rdist/files security/cops/files Message-ID: <201309180820.r8I8K2An049150@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Wed Sep 18 08:20:02 2013 New Revision: 327533 URL: http://svnweb.freebsd.org/changeset/ports/327533 Log: Fix build under 10-CURRENT. Added: head/comms/conserver/files/patch-etc-conserver-master.c (contents, props changed) head/net/44bsd-rdist/files/ head/net/44bsd-rdist/files/patch-expand.c (contents, props changed) head/security/cops/files/patch-src-crc.c (contents, props changed) Added: head/comms/conserver/files/patch-etc-conserver-master.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/conserver/files/patch-etc-conserver-master.c Wed Sep 18 08:20:02 2013 (r327533) @@ -0,0 +1,23 @@ +--- etc/conserver/master.c.orig 2000-08-02 11:39:42.000000000 -0700 ++++ etc/conserver/master.c 2013-09-18 00:48:10.621087079 -0700 +@@ -200,17 +200,17 @@ + + if ((msfd=socket(AF_INET, SOCK_STREAM, 0)) < 0) { + fprintf(stderr, "%s: socket: %s\n", progname, strerror(errno)); +- return; ++ return 0; + } + #if defined(SO_REUSEADDR) && defined(SOL_SOCKET) + if (setsockopt(msfd, SOL_SOCKET, SO_REUSEADDR, (char *)&iTrue, sizeof(iTrue))<0) { + fprintf(stderr, "%s: setsockopt: %s\n", progname, strerror(errno)); +- return; ++ return 0; + } + #endif + if (bind(msfd, (struct sockaddr *)&master_port, sizeof(master_port))<0) { + fprintf(stderr, "%s: bind: %s\n", progname, strerror(errno)); +- return; ++ return 0; + } + if (listen(msfd, SOMAXCONN) < 0) { + fprintf(stderr, "%s: listen: %s\n", progname, strerror(errno)); Added: head/net/44bsd-rdist/files/patch-expand.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/44bsd-rdist/files/patch-expand.c Wed Sep 18 08:20:02 2013 (r327533) @@ -0,0 +1,11 @@ +--- expand.c.orig 2013-09-17 23:46:26.681322944 -0700 ++++ expand.c 2013-09-18 00:29:13.792410201 -0700 +@@ -309,7 +309,7 @@ + return; + goto patherr2; + } +- if (fstat(dirp->dd_fd, &stb) < 0) ++ if (fstat(dirfd(dirp), &stb) < 0) + goto patherr1; + if (!ISDIR(stb.st_mode)) { + errno = ENOTDIR; Added: head/security/cops/files/patch-src-crc.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/cops/files/patch-src-crc.c Wed Sep 18 08:20:02 2013 (r327533) @@ -0,0 +1,11 @@ +--- src/crc.c.orig 1993-03-25 08:31:42.000000000 -0800 ++++ src/crc.c 2013-09-18 00:52:27.281917756 -0700 +@@ -237,7 +237,7 @@ + /* quietly ignore files we can't stat */ + + if (name != NULL && stat(name, &stat_buf) != 0) +- return; ++ return 0; + + /* don't do a crc on strange files */ +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309180820.r8I8K2An049150>