Would something like this work? Kurt, would you mind having a look :)
Index: Makefile =================================================================== RCS file: /cvs/ports/audio/vorbis-tools/Makefile,v retrieving revision 1.43 diff -u -r1.43 Makefile --- Makefile 29 Mar 2012 13:38:13 -0000 1.43 +++ Makefile 14 May 2012 08:13:51 -0000 @@ -6,6 +6,8 @@ CATEGORIES= audio HOMEPAGE= http://www.vorbis.com/ +REVISION= 0 + MAINTAINER= Christian Weisgerber <[email protected]> # GPLv2 Index: patches/patch-ogg123_ogg123_c =================================================================== RCS file: patches/patch-ogg123_ogg123_c diff -N patches/patch-ogg123_ogg123_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-ogg123_ogg123_c 14 May 2012 08:13:51 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ + +Don't try to unlock an already unlocked mutex. + +--- ogg123/ogg123.c.orig Mon May 14 09:47:08 2012 ++++ ogg123/ogg123.c Mon May 14 09:47:01 2012 +@@ -743,7 +743,7 @@ void play (char *source_string) + + format->cleanup(decoder); + transport->close(source); +- status_reset_output_lock(); /* In case we were killed mid-output */ ++ pthread_cleanup_push(status_reset_output_lock, NULL); /* In case we were killed mid-output */ + + status_message(1, _("Done.")); + -- Antoine
