- Update to 2.3.3
Approved by: maintainer
This commit is contained in:
parent
d002e64530
commit
bbe5e42f7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153211
3 changed files with 24 additions and 4 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
20
audio/moc/files/patch-interface.c
Normal file
20
audio/moc/files/patch-interface.c
Normal file
|
@ -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))
|
Loading…
Reference in a new issue