From owner-svn-ports-all@FreeBSD.ORG Sun Mar 22 15:44:54 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79BED2DC; Sun, 22 Mar 2015 15:44:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64C6EE7B; Sun, 22 Mar 2015 15:44:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2MFisV3062426; Sun, 22 Mar 2015 15:44:54 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2MFisAr062425; Sun, 22 Mar 2015 15:44:54 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201503221544.t2MFisAr062425@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 22 Mar 2015 15:44:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381932 - head/net/ladvd/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2015 15:44:54 -0000 Author: sunpoet Date: Sun Mar 22 15:44:53 2015 New Revision: 381932 URL: https://svnweb.freebsd.org/changeset/ports/381932 QAT: https://qat.redports.org/buildarchive/r381932/ Log: - Fix build with Clang 3.6.0 PR: 198437 Submitted by: dim Approved by: (maintainer) Added: head/net/ladvd/files/patch-src__util.c (contents, props changed) Added: head/net/ladvd/files/patch-src__util.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ladvd/files/patch-src__util.c Sun Mar 22 15:44:53 2015 (r381932) @@ -0,0 +1,22 @@ +--- src/util.c.orig 2011-12-20 14:11:03.000000000 +0100 ++++ src/util.c 2015-03-08 22:30:38.673935000 +0100 +@@ -213,9 +213,6 @@ + FILE *file; + int ret = 0; + +- if (path == NULL || line == NULL) +- return(0); +- + if ((file = fopen(path, "r")) == NULL) + return(0); + +@@ -232,9 +229,6 @@ + int write_line(const char *path, char *line, uint16_t len) { + int fd, ret; + +- if (path == NULL || line == NULL) +- return(0); +- + if ((fd = open(path, O_WRONLY|O_TRUNC)) == -1) + return(0); +