From 2a9440c80ba54417f0e5e769b330f6e52d1f7e6a Mon Sep 17 00:00:00 2001 From: drochner Date: Tue, 16 Sep 2003 17:03:44 +0000 Subject: look for a CDROM also at /dev/cd?d; should fix PR pkg/22803 by Peter Seebach --- devel/SDL/distinfo | 3 ++- devel/SDL/patches/patch-be | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 devel/SDL/patches/patch-be (limited to 'devel/SDL') diff --git a/devel/SDL/distinfo b/devel/SDL/distinfo index 5d044b5340f..416e43ee587 100644 --- a/devel/SDL/distinfo +++ b/devel/SDL/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.23 2003/09/04 09:57:41 wiz Exp $ +$NetBSD: distinfo,v 1.24 2003/09/16 17:03:46 drochner Exp $ SHA1 (SDL-1.2.6.tar.gz) = 6f64b79427ea279e5ae18ea07d9fe353fd138422 Size (SDL-1.2.6.tar.gz) = 2042700 bytes @@ -16,3 +16,4 @@ SHA1 (patch-ba) = 0621af3f2c0abba700c30d7f4809f405a7ffe729 SHA1 (patch-bb) = 1918b2e247f9fbbe583fd1111c94dc3a58bfd929 SHA1 (patch-bc) = 8a47e8899f203d56f9855aea6516c4369ab327fe SHA1 (patch-bd) = c5e714b59212202c4889c129eb2b140660474816 +SHA1 (patch-be) = 5f4ba09788f3ca5410067c14b90426f2a831e92b diff --git a/devel/SDL/patches/patch-be b/devel/SDL/patches/patch-be new file mode 100644 index 00000000000..2f69d4af77d --- /dev/null +++ b/devel/SDL/patches/patch-be @@ -0,0 +1,13 @@ +$NetBSD: patch-be,v 1.1 2003/09/16 17:03:44 drochner Exp $ + +--- src/cdrom/openbsd/SDL_syscdrom.c.orig 2003-09-16 18:36:59.000000000 +0200 ++++ src/cdrom/openbsd/SDL_syscdrom.c +@@ -143,6 +143,8 @@ int SDL_SYS_CDInit(void) + static char *checklist[] = { + #ifdef __OpenBSD__ + "?0 cd?c", "cdrom", NULL ++#elif defined(__NetBSD__) ++ "?0 cd?d", "?0 cd?c", "cdrom", NULL + #else + "?0 cd?c", "?0 acd?c", "cdrom", NULL + #endif -- cgit v1.2.3