diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-06-29 18:08:19 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-06-29 18:08:19 +0000 |
commit | e2c8df6d62835556d235c24663f23b5d5f35a987 (patch) | |
tree | c6c0f9a99de5e9206551d0d6539a917e1409bce4 /misc | |
parent | c643ee37211d0d4be5f85611a566d1aa240d1e9f (diff) | |
download | ports-e2c8df6d62835556d235c24663f23b5d5f35a987.tar.gz ports-e2c8df6d62835556d235c24663f23b5d5f35a987.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mc-light/Makefile | 2 | ||||
-rw-r--r-- | misc/mc-light/files/patch-src-dlglist.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/misc/mc-light/Makefile b/misc/mc-light/Makefile index 135c335d56e9..121de74fb74b 100644 --- a/misc/mc-light/Makefile +++ b/misc/mc-light/Makefile @@ -7,7 +7,7 @@ PORTNAME= mc-light PORTVERSION= 4.1.40.p9 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= misc shells MASTER_SITES= http://mc.linuxinside.com/Releases/ DISTNAME= mc-${PORTVERSION:S/.p9/-pre9/} diff --git a/misc/mc-light/files/patch-src-dlglist.c b/misc/mc-light/files/patch-src-dlglist.c new file mode 100644 index 000000000000..74237ea92baa --- /dev/null +++ b/misc/mc-light/files/patch-src-dlglist.c @@ -0,0 +1,11 @@ +--- src/dlglist.c.orig Tue Aug 24 18:14:12 2004 ++++ src/dlglist.c Wed Jun 29 11:13:07 2005 +@@ -71,7 +71,7 @@ + #define mc_list_previous(list) ((list) ? (((MC_DLG_List *)(list))->prev) : NULL) + #define mc_list_next(list) ((list) ? (((MC_DLG_List *)(list))->next) : NULL) + +-static MC_DLG_List* mc_list_first (MC_DLG_List *list){ while(list->prev) list=list->prev; return list;} ++static MC_DLG_List* mc_list_first (MC_DLG_List *list){ while(list && list->prev) list=list->prev; return list;} + static MC_DLG_List* mc_list_last (MC_DLG_List *list){ while(list->next) list=list->next; return list;} + + |