Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_callbacks.c,v 1.1 2014/03/21 14:19:31 jperkin Exp $
Support unmount() on SunOS.
--- src/callbacks.c.orig 2013-03-11 01:38:09.000000000 +0000
+++ src/callbacks.c
@@ -18,7 +18,7 @@
#include <sys/param.h>
#ifndef __GNU__ /* XXX hurd portability */
# include <sys/mount.h>
-# if defined(__linux__) || defined(__CYGWIN__)
+# if defined(__linux__) || defined(__CYGWIN__) || defined(__sun)
# define unmount(a, b) umount(a)
# endif
# ifndef unmount