pkgsrc-Bugs archive

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

Re: pkg/44348: wipe-2.2.0 pkgsrc patch

The following reply was made to PR pkg/44348; it has been noted by GNATS.

From: "OBATA Akio" <>
Subject: Re: pkg/44348: wipe-2.2.0 pkgsrc patch
Date: Sun, 09 Jan 2011 21:24:45 +0900

 On Sun, 09 Jan 2011 06:25:00 +0900, <> wrote:
 >> Description:
 > wipe assumes DragonFlyBSD's partinfo to be the standard BSD partinfo, which 
 > it isn't. This patch checks if we're compiling DragonFlyBSD and adds the 
 > sys/diskslice.h header that defines partinfo, as well as checks for 
 > DragonFlyBSD to sidestep around struct members that don't exist.
 I feel those members for DragonFly are:
    options.sectors = pinfo.media_blocks
    options.sector_size = pinfo.media_blksize
 OBATA Akio /

Home | Main Index | Thread Index | Old Index