From 73e4fd4e36b28e77acabccb7fb2961cfa74b02b5 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sun, 22 Aug 2004 15:07:28 +0000 Subject: Fix build with gcc-3.4 --- audio/rio500/files/patch-src_rio__add__song.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 audio/rio500/files/patch-src_rio__add__song.c (limited to 'audio/rio500/files/patch-src_rio__add__song.c') diff --git a/audio/rio500/files/patch-src_rio__add__song.c b/audio/rio500/files/patch-src_rio__add__song.c new file mode 100644 index 000000000000..56ab8876ce1b --- /dev/null +++ b/audio/rio500/files/patch-src_rio__add__song.c @@ -0,0 +1,22 @@ + +$FreeBSD$ + +--- src/rio_add_song.c.orig Sun Aug 22 16:53:27 2004 ++++ src/rio_add_song.c Sun Aug 22 16:55:17 2004 +@@ -325,6 +325,7 @@ + send_command (rio_dev, 0x58, 0x0, card_number); + + try_next: ++ break; + } /* end of add file loop */ + + /* Close device */ +@@ -624,7 +625,7 @@ + safe_strcat(display_string, "%", DISPLAY_STRING_LEN); + break; + +- default: /* No Action */ ++ default: break; /* No Action */ + } + + } else { -- cgit v1.2.3