By 'drop it in qemu/patches and build the port', I was meaning the
following sequence of events:
$ cd /usr/ports/emulators/qemu
$ cat my_message[1] > patches/patch-kqemu
$ make
[1]http://marc.info/?l=openbsd-ports&m=119324827425479&w=2
Knowing that it actually does build for you, I went back and found my
error, for which I apologize. However, as Stuart said, automated
application is easier than manual editing...
I posted my diffs here because people have asked me for them -- that
was probably the wrong place to do it. I'm sorry for that.
I'll leave the rightness or wrongness for others, but I'm glad you
posted it. I hope nobody is flaming you privately for it not being a
"proper" port, and that was not my intention. Nor was it my intention
to steal any of your thunder; I simply want to see this get committed,
so it's easier for anybody that wants to install it the easy way, using
ports/packages.
And that won't happen until things are done as ports.
All that said and done, it does seem to work in VERY brief testing, so
thanks for putting it together, and for writing kqemu-openbsd.c.