From 22ee7de766b1ac22d0f10a6d1191b75221b8ae30 Mon Sep 17 00:00:00 2001 From: obecian Date: Mon, 5 Mar 2001 04:49:12 +0000 Subject: [PATCH] lopster-0.9.8 update submitted by Cameron Lerch --- audio/lopster/Makefile | 8 ++--- audio/lopster/files/md5 | 6 ++-- audio/lopster/patches/patch-src_browse_c | 17 ++++++++++ audio/lopster/patches/patch-src_commands_c | 12 ++++++++ audio/lopster/patches/patch-src_handler_c | 36 ++++++++++++++++++++++ audio/lopster/patches/patch-src_resume_c | 12 ++++++++ audio/lopster/pkg/PLIST | 4 ++- 7 files changed, 87 insertions(+), 8 deletions(-) create mode 100644 audio/lopster/patches/patch-src_browse_c create mode 100644 audio/lopster/patches/patch-src_commands_c create mode 100644 audio/lopster/patches/patch-src_handler_c create mode 100644 audio/lopster/patches/patch-src_resume_c diff --git a/audio/lopster/Makefile b/audio/lopster/Makefile index c9ea6257ee1..72c995320d8 100644 --- a/audio/lopster/Makefile +++ b/audio/lopster/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.4 2000/12/23 13:04:53 naddy Exp $ +# $OpenBSD: Makefile,v 1.5 2001/03/05 04:49:12 obecian Exp $ -DISTNAME= lopster-0.9.7.2 +DISTNAME= lopster-0.9.8 CATEGORIES= audio -NEED_VERSION= 1.346 -MASTER_SITES= http://lopster.sourceforge.net/ \ +NEED_VERSION= 1.358 +MASTER_SITES= http://lopster.sourceforge.net/download/ \ ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lopster diff --git a/audio/lopster/files/md5 b/audio/lopster/files/md5 index f014817c907..97b5d59d42f 100644 --- a/audio/lopster/files/md5 +++ b/audio/lopster/files/md5 @@ -1,3 +1,3 @@ -MD5 (lopster-0.9.7.2.tar.gz) = 722eb20e8a2c0c2f477e53b0ff246f8e -RMD160 (lopster-0.9.7.2.tar.gz) = efda44530e5aae31b42daebd95cc526c4611b0b6 -SHA1 (lopster-0.9.7.2.tar.gz) = 7273d14c747613b0725b2f092afb9759b9f34478 +MD5 (lopster-0.9.8.tar.gz) = 7d0766b4d9cee277fca67b43eeeedb8b +RMD160 (lopster-0.9.8.tar.gz) = 371cc0591e5e8abe7dd110c5a37a073d90bbc29f +SHA1 (lopster-0.9.8.tar.gz) = 3e244d7b2aaccc32d296ca9c28ecadc24f71cf10 diff --git a/audio/lopster/patches/patch-src_browse_c b/audio/lopster/patches/patch-src_browse_c new file mode 100644 index 00000000000..45436b93364 --- /dev/null +++ b/audio/lopster/patches/patch-src_browse_c @@ -0,0 +1,17 @@ +$OpenBSD: patch-src_browse_c,v 1.1 2001/03/05 04:49:12 obecian Exp $ +--- src/browse.c.orig Mon Feb 12 12:50:55 2001 ++++ src/browse.c Sun Mar 4 17:58:36 2001 +@@ -1,10 +1,10 @@ +-#include +-#include ++#include + #include + #include + #include + #include +-#include ++#include ++#include + + #include + diff --git a/audio/lopster/patches/patch-src_commands_c b/audio/lopster/patches/patch-src_commands_c new file mode 100644 index 00000000000..a1d82ef358b --- /dev/null +++ b/audio/lopster/patches/patch-src_commands_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_commands_c,v 1.1 2001/03/05 04:49:12 obecian Exp $ +--- src/commands.c.orig Mon Feb 12 12:50:55 2001 ++++ src/commands.c Sun Mar 4 18:44:15 2001 +@@ -856,7 +856,7 @@ COMMAND(lopster_scheme) { + + scheme = arg(data, 1); + if (!scheme) { +- command = g_strdup_printf(_("Current scheme is [%s]"), global.scheme); ++ command = g_strdup_printf(_("Current scheme is [%s]"), global.scheme->name); + client_message(_("Message"), command); + g_free(command); + } else { diff --git a/audio/lopster/patches/patch-src_handler_c b/audio/lopster/patches/patch-src_handler_c new file mode 100644 index 00000000000..4042b250b7c --- /dev/null +++ b/audio/lopster/patches/patch-src_handler_c @@ -0,0 +1,36 @@ +$OpenBSD: patch-src_handler_c,v 1.1 2001/03/05 04:49:12 obecian Exp $ +--- src/handler.c.orig Tue Feb 13 08:14:20 2001 ++++ src/handler.c Sun Mar 4 17:58:36 2001 +@@ -1,5 +1,3 @@ +-#include +-#include + #include + #include + #include +@@ -7,6 +5,8 @@ + #include + #include + #include ++#include ++#include + + #include + +@@ -1029,7 +1029,7 @@ HANDLER(cmd_banlist_entry) { + pos[0] = 0; + strcpy(tstr[3], data); + data = pos + 2; +- sscanf(data, "%ld\n", &l1); ++ sscanf(data, "%d\n", &l1); + sprintf(tstr[2], "%s", ctime(&l1)); + gtk_clist_append(GTK_CLIST(temp), list); + } +@@ -1884,7 +1884,7 @@ HANDLER(cmd_usage_stats) { + server_message(_("Channels"), pos); + + pos = arg(NULL, 0); +- sscanf(pos, "%ld", &stime); ++ sscanf(pos, "%d", &stime); + strcpy(str, ctime(&stime)); + str[strlen(str)-1] = 0; + server_message(_("Boot Time"), str); diff --git a/audio/lopster/patches/patch-src_resume_c b/audio/lopster/patches/patch-src_resume_c new file mode 100644 index 00000000000..dbb2787c7b1 --- /dev/null +++ b/audio/lopster/patches/patch-src_resume_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_resume_c,v 1.1 2001/03/05 04:49:12 obecian Exp $ +--- src/resume.c.orig Tue Feb 13 13:03:14 2001 ++++ src/resume.c Sun Mar 4 19:01:41 2001 +@@ -391,7 +391,7 @@ void resume_list_update(resume_t* resume + if (stat(resume->filename, &st) < 0) { + strcpy(text, _("not existent")); + } else { +- sprintf(text, "%lu", st.st_size); ++ sprintf(text, "%Ld", st.st_size); + } + gtk_ctree_node_set_text(ctree, node, 2, text); + diff --git a/audio/lopster/pkg/PLIST b/audio/lopster/pkg/PLIST index 46611355bf3..0ab7ee4d85a 100644 --- a/audio/lopster/pkg/PLIST +++ b/audio/lopster/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.3 2000/10/03 14:05:10 kevlo Exp $ +@comment $OpenBSD: PLIST,v 1.4 2001/03/05 04:49:12 obecian Exp $ bin/lopster share/lopster/pixmaps/arrowd.xpm share/lopster/pixmaps/arrowl.xpm @@ -15,9 +15,11 @@ share/lopster/pixmaps/folder_open.xpm share/lopster/pixmaps/friend.xpm share/lopster/pixmaps/home16b.xpm share/lopster/pixmaps/ignore.xpm +share/lopster/pixmaps/info.xpm share/lopster/pixmaps/kfind.xpm share/lopster/pixmaps/logo.jpg share/lopster/pixmaps/logo.xpm +share/lopster/pixmaps/logo1.xpm share/lopster/pixmaps/mail16b.xpm share/lopster/pixmaps/mini-folder.xpm share/lopster/pixmaps/notes16.xpm