update gnomad2 to 2.8.11

This commit is contained in:
jasper 2007-02-02 14:26:50 +00:00
parent 5e869917fb
commit 9e222299eb
3 changed files with 8 additions and 25 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/11 21:58:37 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2007/02/02 14:26:50 jasper Exp $
COMMENT= "GTK+ music manager for various Creative and Dell audio players"
DISTNAME= gnomad2-2.8.9
DISTNAME= gnomad2-2.8.11
CATEGORIES= audio
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
@ -30,9 +30,8 @@ LIB_DEPENDS= id3tag.>=3::audio/libid3tag \
usb.>=8::devel/libusb \
gdk_pixbuf-2.0.>=400.3,gdk-x11-2.0.>=400.3,gtk-x11-2.0.>=0.5::x11/gtk+2
BUILD_DEPENDS= ::textproc/p5-XML-Parser \
::textproc/intltool \
BUILD_DEPENDS= ::textproc/intltool \
::textproc/p5-XML-Parser
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"

View File

@ -1,4 +1,4 @@
MD5 (gnomad2-2.8.9.tar.gz) = d9362ae17f1ced02efe297a255512377
RMD160 (gnomad2-2.8.9.tar.gz) = b1ba4384778b8c3d9e64be11bf69cb9d2f2d9e80
SHA1 (gnomad2-2.8.9.tar.gz) = 8980a9f4057e6c9f79a396822689300118e77d15
SIZE (gnomad2-2.8.9.tar.gz) = 316934
MD5 (gnomad2-2.8.11.tar.gz) = 661af9f68f2aab19659265050a9ae40c
RMD160 (gnomad2-2.8.11.tar.gz) = a858d155e54c4032f952104cfc688225ea8890b1
SHA1 (gnomad2-2.8.11.tar.gz) = 71b55e2cc6edf2466d55e78bc3f9b3fa552ea351
SIZE (gnomad2-2.8.11.tar.gz) = 340293

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-src-jukebox_c,v 1.1.1.1 2007/01/11 21:58:37 jasper Exp $
--- src/jukebox.c.orig Thu Sep 21 08:51:05 2006
+++ src/jukebox.c Tue Jan 9 23:36:08 2007
@@ -1234,7 +1234,11 @@ static void flush_usage()
gchar *desc;
gchar *label;
- ret = LIBMTP_Get_Storageinfo(mtpdevice, &totalbytes, &freebytes, &desc, &label);
+ ret = LIBMTP_Get_Storage(mtpdevice, 0);
+ if (mtpdevice->storage != NULL) {
+ totalbytes = mtpdevice->storage->MaxCapacity;
+ freebytes = mtpdevice->storage->FreeSpaceInBytes;
+ }
if (ret != 0) {
totalbytes = 0;
freebytes = 0;