From owner-svn-ports-all@freebsd.org Tue Jul 18 22:11:19 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3EF2DA11D5; Tue, 18 Jul 2017 22:11:19 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 82BC319C8; Tue, 18 Jul 2017 22:11:19 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6IMBIXe076092; Tue, 18 Jul 2017 22:11:18 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6IMBI4n076089; Tue, 18 Jul 2017 22:11:18 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201707182211.v6IMBI4n076089@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Tue, 18 Jul 2017 22:11:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446177 - in head/emulators: virtualbox-ose-additions virtualbox-ose/files X-SVN-Group: ports-head X-SVN-Commit-Author: jkim X-SVN-Commit-Paths: in head/emulators: virtualbox-ose-additions virtualbox-ose/files X-SVN-Commit-Revision: 446177 X-SVN-Commit-Repository: ports 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.23 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: Tue, 18 Jul 2017 22:11:19 -0000 Author: jkim Date: Tue Jul 18 22:11:18 2017 New Revision: 446177 URL: https://svnweb.freebsd.org/changeset/ports/446177 Log: - Fix build on 10.3. strncat() was not available in libkern. Actually, there is no point of using strncat() here because the length of tail is len. - Remove few empty lines while I am here. Modified: head/emulators/virtualbox-ose-additions/Makefile head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c Modified: head/emulators/virtualbox-ose-additions/Makefile ============================================================================== --- head/emulators/virtualbox-ose-additions/Makefile Tue Jul 18 20:20:43 2017 (r446176) +++ head/emulators/virtualbox-ose-additions/Makefile Tue Jul 18 22:11:18 2017 (r446177) @@ -3,7 +3,7 @@ PORTNAME= virtualbox-ose PORTVERSION= 5.1.22 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${PORTVERSION}/ PKGNAMESUFFIX?= -additions Modified: head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c ============================================================================== --- head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c Tue Jul 18 20:20:43 2017 (r446176) +++ head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c Tue Jul 18 22:11:18 2017 (r446177) @@ -1,6 +1,6 @@ --- src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c.orig 1970-01-01 01:00:00.000000000 +0100 +++ src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c 2017-07-12 19:24:26.109029000 +0200 -@@ -0,0 +1,1021 @@ +@@ -0,0 +1,1020 @@ +/* + * Copyright (C) 2008-2016 Oracle Corporation + * @@ -311,7 +311,6 @@ + sfp_file_t **fp, + sffs_stat_t *stat) +{ -+ + int rc; + SHFLCREATEPARMS parms; + SHFLSTRING *str; Modified: head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c ============================================================================== --- head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c Tue Jul 18 20:20:43 2017 (r446176) +++ head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c Tue Jul 18 22:11:18 2017 (r446177) @@ -12,7 +12,7 @@ * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; -@@ -14,228 +9,1336 @@ +@@ -14,228 +9,1334 @@ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ @@ -521,7 +521,7 @@ + p = malloc(strlen(node->sf_path) + 1 + len + 1, M_VBOXVFS, M_WAITOK); + strcpy(p, node->sf_path); + strcat(p, "/"); -+ strncat(p, tail, len); ++ strcat(p, tail); + return (p); +} + @@ -610,7 +610,6 @@ +static int +vboxfs_close(struct vop_close_args *ap) +{ -+ + struct vnode *vp = ap->a_vp; + struct vboxfs_node *np; + @@ -719,7 +718,6 @@ +static int +vboxfs_setattr(struct vop_setattr_args *ap) +{ -+ + struct vnode *vp = ap->a_vp; + struct vattr *vap = ap->a_vap; + struct vboxfs_node *np = VP_TO_VBOXFS_NODE(vp);