$OpenBSD: patch-apps_kmixremote,v 1.1 2014/07/09 20:03:26 zhuk Exp $
Make this more portable.
--- apps/kmixremote.orig	Fri Jun 27 19:14:11 2014
+++ apps/kmixremote	Fri Jun 27 19:15:34 2014
@@ -1,3 +1,4 @@
+#!/bin/sh
 #################################################################################
 # kmixremote - control kmix from a script.
 #
@@ -6,7 +7,7 @@
 # Mute
 #################################################################################
 
-function usage
+usage()
 {
   echo "Usage:"
   echo "List mixers    #   $0 list"
@@ -17,7 +18,7 @@ function usage
   echo 
 }
 
-function exit_with_error
+exit_with_error()
 {
   echo "Error: $1"
   echo 
@@ -26,7 +27,7 @@ function exit_with_error
 }
 
 # Prints the mixer DBUS ID's on the console. leaving out the "/Mixers/" prefix
-function listMixers
+listMixers()
 {
   qdbus org.kde.kmix /Mixers org.freedesktop.DBus.Properties.Get org.kde.KMix.MixSet mixers | cut -f3 -d/
   errorCode=$?
@@ -36,7 +37,7 @@ function listMixers
 }
 
 # Prints the mixer control DBUS ID's of the given mixer on the console. leaving out the "/Mixers/" prefix
-function listControls
+listControls()
 {
   qdbus org.kde.kmix $1 org.freedesktop.DBus.Properties.Get org.kde.KMix.Mixer controls  | cut -f4 -d/
   errorCode=$?
