lopster-0.9.8 update

submitted by Cameron Lerch <opcode@skylab.saturn5.yi.org>
This commit is contained in:
obecian 2001-03-05 04:49:12 +00:00
parent 7d8fe3ee2c
commit 22ee7de766
7 changed files with 87 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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 <sys/socket.h>
-#include <sys/types.h>
+#include <stdlib.h>
#include <stdio.h>
#include <strings.h>
#include <string.h>
#include <sys/time.h>
-#include <stdlib.h>
+#include <sys/socket.h>
+#include <sys/types.h>
#include <gtk/gtk.h>

View File

@ -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 {

View File

@ -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 <sys/socket.h>
-#include <netinet/in.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
@@ -7,6 +5,8 @@
#include <string.h>
#include <stdlib.h>
#include <time.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <gtk/gtk.h>
@@ -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);

View File

@ -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);

View File

@ -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