Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2014 23:02:46 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372506 - head/net/openafs/files
Message-ID:  <201411122302.sACN2k4x052685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411122302.sACN2k4x052685>