aboutsummaryrefslogtreecommitdiff
path: root/audio/moc
diff options
context:
space:
mode:
Diffstat (limited to 'audio/moc')
-rw-r--r--audio/moc/Makefile3
-rw-r--r--audio/moc/distinfo5
-rw-r--r--audio/moc/files/patch-interface.c20
3 files changed, 24 insertions, 4 deletions
diff --git a/audio/moc/Makefile b/audio/moc/Makefile
index a10a74ede49e..43f1ae7cb797 100644
--- a/audio/moc/Makefile
+++ b/audio/moc/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= moc
-PORTVERSION= 2.3.2
-PORTREVISION= 1
+PORTVERSION= 2.3.3
CATEGORIES= audio
MASTER_SITES= ftp://ftp.daper.net/pub/soft/moc/stable/
diff --git a/audio/moc/distinfo b/audio/moc/distinfo
index 3760abb2e1c6..f055d27d8c84 100644
--- a/audio/moc/distinfo
+++ b/audio/moc/distinfo
@@ -1,2 +1,3 @@
-MD5 (moc-2.3.2.tar.bz2) = d01e1af79d4ac1202be3f7e0c63b0a7b
-SIZE (moc-2.3.2.tar.bz2) = 406058
+MD5 (moc-2.3.3.tar.bz2) = 6754034097b282b1894b924ba2c8e98d
+SHA256 (moc-2.3.3.tar.bz2) = e6fe30288725df040b03c7e8c6b4553ea6e53908ed534d5c61936e28a268edfc
+SIZE (moc-2.3.3.tar.bz2) = 392019
diff --git a/audio/moc/files/patch-interface.c b/audio/moc/files/patch-interface.c
new file mode 100644
index 000000000000..637dc16cc345
--- /dev/null
+++ b/audio/moc/files/patch-interface.c
@@ -0,0 +1,20 @@
+--- interface.c.orig Thu Dec 29 15:06:55 2005
++++ interface.c Tue Jan 10 16:15:06 2006
+@@ -2948,6 +2948,8 @@
+
+ enum key_cmd cmd;
+
++ int selected;
++
+ /* in this entry, we also operate on the menu */
+ if ((cmd = get_key_cmd(CON_ENTRY, ch)) == KEY_CMD_WRONG)
+ cmd = get_key_cmd(CON_MENU, ch);
+@@ -3003,7 +3005,7 @@
+
+ if (ch == '\n' && entry.text[0] && menu_nitems(curr_menu))
+ go_file ();
+- int selected = menu_curritem(curr_menu);
++ selected = menu_curritem(curr_menu);
+ if ((selected < 0 && old_curr_menu) ||
+ (curr_menu->nitems<=selected && old_curr_menu) ||
+ (old_curr_menu && (menu_item_get_type(curr_menu, selected))!=F_DIR))