Import of pkgsrc-2014Q1

This commit is contained in:
2014-11-05 12:41:07 +01:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions
+9 -5
View File
@@ -1,7 +1,7 @@
$NetBSD: patch-cb,v 1.8 2010/12/16 04:55:46 chuck Exp $
$NetBSD: patch-cb,v 1.9 2013/12/12 16:41:32 jperkin Exp $
--- interface/low_interface.h.orig 2008-09-11 06:43:52.000000000 -0400
+++ interface/low_interface.h 2010-12-15 23:40:19.000000000 -0500
--- interface/low_interface.h.orig 2008-09-11 10:43:52.000000000 +0000
+++ interface/low_interface.h
@@ -26,6 +26,7 @@
#include <sys/time.h>
#include <sys/types.h>
@@ -10,10 +10,14 @@ $NetBSD: patch-cb,v 1.8 2010/12/16 04:55:46 chuck Exp $
#include <linux/major.h>
#include <linux/version.h>
@@ -54,6 +55,22 @@
@@ -54,6 +55,26 @@
#include <linux/cdrom.h>
#include <linux/major.h>
+#elif defined(__sun)
+
+#include <sys/cdio.h>
+
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
+
+#include <sys/cdio.h>
@@ -33,7 +37,7 @@ $NetBSD: patch-cb,v 1.8 2010/12/16 04:55:46 chuck Exp $
#include "cdda_interface.h"
#ifndef SG_EMULATED_HOST
@@ -100,17 +117,29 @@
@@ -100,17 +121,29 @@ typedef struct sg_io_hdr
struct cdda_private_data {
struct sg_header *sg_hd;
unsigned char *sg_buffer; /* points into sg_hd */