DragonFly support.
This commit is contained in:
parent
914c15a9ac
commit
6aef307cc3
4 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.2 2005/04/21 14:44:24 minskim Exp $
|
# $NetBSD: Makefile,v 1.3 2005/12/07 18:38:27 joerg Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= regionset-0.1
|
DISTNAME= regionset-0.1
|
||||||
|
@ -11,7 +11,7 @@ COMMENT= Read and modify DVD drive region code
|
||||||
|
|
||||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||||
|
|
||||||
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* Linux-*-*
|
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* Linux-*-* DragonFly-*-*
|
||||||
|
|
||||||
INSTALLATION_DIRS= bin
|
INSTALLATION_DIRS= bin
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
$NetBSD: distinfo,v 1.4 2005/06/19 10:42:27 hira Exp $
|
$NetBSD: distinfo,v 1.5 2005/12/07 18:38:27 joerg Exp $
|
||||||
|
|
||||||
SHA1 (regionset-0.1.tar.gz) = c60b973f44288264234d07be1fb418b6e7bf61a5
|
SHA1 (regionset-0.1.tar.gz) = c60b973f44288264234d07be1fb418b6e7bf61a5
|
||||||
RMD160 (regionset-0.1.tar.gz) = 2061fae73b8b948135a91b33eaacd77590507306
|
RMD160 (regionset-0.1.tar.gz) = 2061fae73b8b948135a91b33eaacd77590507306
|
||||||
Size (regionset-0.1.tar.gz) = 17095 bytes
|
Size (regionset-0.1.tar.gz) = 17095 bytes
|
||||||
SHA1 (patch-aa) = 4a7085cc9bf693a93e871914346bcc4c959e606c
|
SHA1 (patch-aa) = c372a053e519a5c47ccd360fee0d3810d679629b
|
||||||
SHA1 (patch-ab) = edbe06718024e855e41d8aea54c268c89450a222
|
SHA1 (patch-ab) = 692df8ceb8cd7e94b8c474c290cbf21fd4d14714
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: patch-aa,v 1.2 2005/06/19 10:42:27 hira Exp $
|
$NetBSD: patch-aa,v 1.3 2005/12/07 18:38:27 joerg Exp $
|
||||||
|
|
||||||
--- dvd_udf.c.old 2003-10-30 07:30:33.000000000 -0500
|
--- dvd_udf.c.old 2003-10-30 07:30:33.000000000 -0500
|
||||||
+++ dvd_udf.c 2005-04-16 02:21:37.000000000 -0400
|
+++ dvd_udf.c 2005-04-16 02:21:37.000000000 -0400
|
||||||
|
@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.2 2005/06/19 10:42:27 hira Exp $
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
-#if defined(__OpenBSD__)
|
-#if defined(__OpenBSD__)
|
||||||
+#if defined(__NetBSD__) || defined(__OpenBSD__)
|
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
# include <sys/dvdio.h>
|
# include <sys/dvdio.h>
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
# include <linux/cdrom.h>
|
# include <linux/cdrom.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: patch-ab,v 1.3 2005/06/19 10:42:27 hira Exp $
|
$NetBSD: patch-ab,v 1.4 2005/12/07 18:38:27 joerg Exp $
|
||||||
|
|
||||||
--- regionset.c.old 2003-10-30 07:32:34.000000000 -0500
|
--- regionset.c.old 2003-10-30 07:32:34.000000000 -0500
|
||||||
+++ regionset.c 2005-04-16 02:42:40.000000000 -0400
|
+++ regionset.c 2005-04-16 02:42:40.000000000 -0400
|
||||||
|
@ -6,7 +6,7 @@ $NetBSD: patch-ab,v 1.3 2005/06/19 10:42:27 hira Exp $
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "dvd_udf.h"
|
#include "dvd_udf.h"
|
||||||
|
|
||||||
+#if defined(__NetBSD__) || defined(__OpenBSD__)
|
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
+#define DEFAULTDEVICE "/dev/cd0a"
|
+#define DEFAULTDEVICE "/dev/cd0a"
|
||||||
+#else /* linux */
|
+#else /* linux */
|
||||||
#define DEFAULTDEVICE "/dev/dvd"
|
#define DEFAULTDEVICE "/dev/dvd"
|
||||||
|
|
Loading…
Reference in a new issue