update herrie to 1.1

This commit is contained in:
jasper 2006-12-23 10:03:03 +00:00
parent e87b0efd24
commit 61e392a94d
4 changed files with 32 additions and 6 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2006/12/11 15:12:02 jasper Exp $
# $OpenBSD: Makefile,v 1.4 2006/12/23 10:03:03 jasper Exp $
COMMENT= "minimalistic console-based audio player"
DISTNAME= herrie-1.0.2
DISTNAME= herrie-1.1
CATEGORIES= audio
HOMEPAGE= http://g-rave.nl/projects/herrie/

View File

@ -1,4 +1,4 @@
MD5 (herrie-1.0.2.tar.gz) = 4f600bc1e77faa32e2454785985fa209
RMD160 (herrie-1.0.2.tar.gz) = 52f33299d238cab8da98ed0134317292485b022b
SHA1 (herrie-1.0.2.tar.gz) = 32cb8421767519e1496683f63c965dbe058d0a1b
SIZE (herrie-1.0.2.tar.gz) = 46368
MD5 (herrie-1.1.tar.gz) = 1c28876ae36737ca3f3d6d2d2f037435
RMD160 (herrie-1.1.tar.gz) = 5a3eda7de0bfbd893081a7700f9ab716ce0397a9
SHA1 (herrie-1.1.tar.gz) = d5eeba54ea7ed4b40de870d28af14faa1e4b5615
SIZE (herrie-1.1.tar.gz) = 42802

View File

@ -0,0 +1,14 @@
--- src/gui/gui_playq.c.orig Sat Dec 23 10:55:55 2006
+++ src/gui/gui_playq.c Sat Dec 23 10:57:55 2006
@@ -34,6 +34,11 @@
#include <string.h>
#include <unistd.h>
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+/* needed for setproctitle(3) */
+#include <stdlib.h>
+#endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ */
+
#include <trans.h>
#include <gui/gui_internal.h>
#include <gui/gui_vfslist.h>

View File

@ -0,0 +1,12 @@
--- src/gui/gui_vfslist.c.orig Sat Dec 23 10:58:31 2006
+++ src/gui/gui_vfslist.c Sat Dec 23 10:59:02 2006
@@ -122,7 +122,8 @@ gui_vfslist_percent(struct gui_vfslist *
static void
gui_vfslist_refresh(struct gui_vfslist *gv)
{
- int i, idxw, idxmaxw;
+ int i, idxw;
+ int idxmaxw = 0;
unsigned int idx;
char num[16], mark;
struct vfsref *vr;