$OpenBSD: patch-src_rmd_initialize_data_c,v 1.1 2010/07/01 10:10:09 jakemsr Exp $

sndio

--- src/rmd_initialize_data.c.orig	Thu May  6 17:53:40 2010
+++ src/rmd_initialize_data.c	Thu May  6 17:54:33 2010
@@ -130,7 +130,7 @@ int InitializeData(ProgData *pdata,
             //when using OSS periodsize serves as an alias of buffsize
             pdata->periodsize=pdata->args.buffsize;
             pdata->sound_framesize=pdata->args.channels<<1;
-            if(pdata->sound_handle<0){
+            if(pdata->sound_handle==NULL){
 #endif
                 fprintf(stderr,"Error while opening/configuring soundcard %s\n"
                             "Try running with the --no-sound or specify a "
