DragonFly BSD
DragonFly users List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: dvd+rw tools (growisofs) problem

From: ejc <eric.j.christeson@xxxxxxxxx>
Date: Thu, 9 Mar 2006 10:57:01 -0600

On 3/6/06, Steve O'Hara-Smith <steve@xxxxxxxxxx> wrote:
> On Mon, 6 Mar 2006 12:09:50 +0000
> "Steve O'Hara-Smith" <steve@xxxxxxxxxx> wrote:
> >       Hi,
> >
> >       I managed to get dvd+rw tools to build with a small change to
> > the existing pkgsrc patches (to exclude the call to mlockall for DragonFly
> > as well as for NetBSD). Unfortunately it fails to work exiting with the
> > error message:

I ran into this same problem and applied your patch to exclude
mlockall with the same results.  I then looked into the patch-ad file,
noticing it hadn't been DragonFly-ized yet.  I applied the attached
patch and it seems to work, unfortunately it was pretty late and the
. iso I was trying to burn was too large for a single layer disc, so I
didn't complete a successful burn.

Here's the patch.  Seems gmail mangles attachments such that crater
doesn't like them.

--- patch-ad    2006-03-09 00:47:07.000000000 -0600
+++ patch-ad.bak    2006-03-09 00:46:12.000000000 -0600
@@ -6,7 +6,7 @@
    pthread_attr_t attr;

      if (pthread_attr_init(&attr)==0 &&
-+#ifndef __NetBSD__
++#if (!defined (__NetBSD__)) && (!defined (__DragonFly__))
    pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 &&
    pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 )

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]