Subject: Fix for libdvdread on DragonFly
To: None <pkgsrc-users@NetBSD.org>
From: Steve O'Hara-Smith <steve@sohara.org>
List: pkgsrc-users
Date: 04/12/2006 10:47:49
This is a multi-part message in MIME format.

--Multipart=_Wed__12_Apr_2006_10_47_49_+0100_I7FqWM_X7HzQd2sU
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

	Hi,

	I'm not sure when it stopped working but libdvdread fails on
DragonFly because it automatically changes /dev/<whatever>
to /dev/r<whatever> but DragonFly got rid of the r<whatever> devices some
time ago.

	The attached modified version of patch-ab (which adds DragonFly
support in the first place) prevents the r being added on DragonFly which
results in a working libdvdread.

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/

--Multipart=_Wed__12_Apr_2006_10_47_49_+0100_I7FqWM_X7HzQd2sU
Content-Type: application/octet-stream;
 name="patch-ab"
Content-Disposition: attachment;
 filename="patch-ab"
Content-Transfer-Encoding: base64

JE5ldEJTRCQKCi0tLSBkdmRyZWFkL2R2ZF9yZWFkZXIuYy5vcmlnCTIwMDYtMDEtMjIgMTU6NDU6
MjkuMDAwMDAwMDAwICswMDAwCisrKyBkdmRyZWFkL2R2ZF9yZWFkZXIuYwpAQCAtMzMsNyArMzMs
NyBAQAogI2luY2x1ZGUgPGxpbWl0cy5oPgogI2luY2x1ZGUgPGRpcmVudC5oPgogIAotI2lmIGRl
ZmluZWQoX19GcmVlQlNEX18pIHx8IGRlZmluZWQoX19PcGVuQlNEX18pIHx8IGRlZmluZWQoX19O
ZXRCU0RfXykgfHwgZGVmaW5lZChfX2JzZGlfXykgfHwgZGVmaW5lZChfX0RBUldJTl9fKQorI2lm
IGRlZmluZWQoX19GcmVlQlNEX18pIHx8IGRlZmluZWQoX19PcGVuQlNEX18pIHx8IGRlZmluZWQo
X19OZXRCU0RfXykgfHwgZGVmaW5lZChfX2JzZGlfXykgfHwgZGVmaW5lZ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