From owner-svn-ports-head@FreeBSD.ORG Wed Nov 12 23:02:47 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1912B40C; Wed, 12 Nov 2014 23:02:47 +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 EE06F847; Wed, 12 Nov 2014 23:02:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sACN2kJJ052688; Wed, 12 Nov 2014 23:02:46 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sACN2k4x052685; Wed, 12 Nov 2014 23:02:46 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201411122302.sACN2k4x052685@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Wed, 12 Nov 2014 23:02:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372506 - head/net/openafs/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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2014 23:02:47 -0000 Author: hrs Date: Wed Nov 12 23:02:45 2014 New Revision: 372506 URL: https://svnweb.freebsd.org/changeset/ports/372506 QAT: https://qat.redports.org/buildarchive/r372506/ Log: Fix build on 11.X after r273707 (__FreeBSD_version: 1100041). Approved by: bjk (maintainer) Added: head/net/openafs/files/patch-src-afs-FBSD-osi_vfsops.c (contents, props changed) head/net/openafs/files/patch-src-config-param.amd64_fbsd_110.h (contents, props changed) head/net/openafs/files/patch-src-config-param.i386_fbsd_110.h (contents, props changed) Added: head/net/openafs/files/patch-src-afs-FBSD-osi_vfsops.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/openafs/files/patch-src-afs-FBSD-osi_vfsops.c Wed Nov 12 23:02:45 2014 (r372506) @@ -0,0 +1,14 @@ +--- src/afs/FBSD/osi_vfsops.c.orig 2014-11-08 11:45:02.000000000 +0900 ++++ src/afs/FBSD/osi_vfsops.c 2014-11-08 12:01:34.000000000 +0900 +@@ -49,7 +49,11 @@ + int code; + int offset = AFS_SYSCALL; + #if defined(AFS_FBSD90_ENV) || defined(AFS_FBSD82_ENV) ++# if defined(FBSD_SYSCALL_REGISTER_FOUR_ARGS) ++ code = syscall_register(&offset, &afs_sysent, &old_sysent, 0); ++# else + code = syscall_register(&offset, &afs_sysent, &old_sysent); ++# endif + if (code) { + printf("AFS_SYSCALL in use, error %i. aborting\n", code); + return code; Added: head/net/openafs/files/patch-src-config-param.amd64_fbsd_110.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/openafs/files/patch-src-config-param.amd64_fbsd_110.h Wed Nov 12 23:02:45 2014 (r372506) @@ -0,0 +1,14 @@ +--- src/config/param.amd64_fbsd_110.h.orig 2014-10-09 18:21:13.000000000 +0900 ++++ src/config/param.amd64_fbsd_110.h 2014-11-08 12:19:21.000000000 +0900 +@@ -144,6 +144,11 @@ + #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ + #endif /* _KERNEL */ + ++/* r273707 added a flags argument to syscall_register() */ ++#if __FreeBSD_version >= 1100041 ++#define FBSD_SYSCALL_REGISTER_FOUR_ARGS ++#endif ++ + #else /* !defined(UKERNEL) */ + + /* This section for user space compiles only */ Added: head/net/openafs/files/patch-src-config-param.i386_fbsd_110.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/openafs/files/patch-src-config-param.i386_fbsd_110.h Wed Nov 12 23:02:45 2014 (r372506) @@ -0,0 +1,14 @@ +--- src/config/param.i386_fbsd_110.h.orig 2014-10-09 18:21:13.000000000 +0900 ++++ src/config/param.i386_fbsd_110.h 2014-11-08 12:19:35.000000000 +0900 +@@ -143,6 +143,11 @@ + #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ + #endif /* _KERNEL */ + ++/* r273707 added a flags argument to syscall_register() */ ++#if __FreeBSD_version >= 1100041 ++#define FBSD_SYSCALL_REGISTER_FOUR_ARGS ++#endif ++ + #else /* !defined(UKERNEL) */ + + /* This section for user space compiles only */