Re: [Gptfdisk-general] compiling on openbsd
Brought to you by:
srs5694
From: Joel R. <joe...@gm...> - 2015-10-21 19:44:10
|
Okay, here's the patch as an attachment. It's the output of git-diff at the current HEAD. I've removed the #warning line I used to make sure uuid/uuid.h was included, and added OpenBSD to the instructions in README. Not much to patch, really, just adding tests for __OpenBSD__ being defined instead of __FreeBSD__. And the ioctl(fd, DIOCGFLUSH) in diskio-unix.cc, I couldn't find DIOCGFLUSH or an equivalent, so I'm swagging an fsync. That probably needs to be checked by someone who knows more than I do. I'm trying to get some eyeballs on it over at misc@openbsd, but I may need to go to the dev list with a complete package before they'll look at it. Sorry I couldn't respond. I've been asleep. On Wed, Oct 21, 2015 at 10:59 PM, Rod Smith <rod...@ro...> wrote: > On 10/21/2015 09:11 AM, Joel Rees wrote: >> Well, actually, I have it compiling cleanly and appearing to function. >> >> Need to think about what kinds of tests I can run. >> >> Using make -f Makefile.freebsd brings /usr/local/include in so that >> uuid/uuid.h is found (and gets around the kludge, etc.). >> >> Here's the real diff: > > Your patch is failing to apply because of e-mail transformations. Please > send it to me as an attachment, not inline. > [...] -- Joel Rees Be careful when you look at conspiracy. Arm yourself with knowledge of yourself, as well: http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html |