diff options
author | marcus <marcus@FreeBSD.org> | 2004-08-22 20:22:44 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-08-22 20:22:44 +0000 |
commit | 45fa8256b2e70d2ad5c004815a772681b67ebfb2 (patch) | |
tree | d7b3465f493a8cad72f05aa549c589b2bc7c8dc0 /audio/gnomemedia2 | |
parent | 15ec5ca1adad869755db28c33d1e52590b987873 (diff) | |
download | FreeBSD-ports-45fa8256b2e70d2ad5c004815a772681b67ebfb2.zip FreeBSD-ports-45fa8256b2e70d2ad5c004815a772681b67ebfb2.tar.gz |
Don't free the discid before querying the CDDB database. This fixes a
problem where discs would sometimes show up with unknown CDDB data in gnome-cd.
Obtained from: gnome-media CVS (based on)
Diffstat (limited to 'audio/gnomemedia2')
-rw-r--r-- | audio/gnomemedia2/Makefile | 2 | ||||
-rw-r--r-- | audio/gnomemedia2/files/patch-gnome-cd_cddb.c | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/audio/gnomemedia2/Makefile b/audio/gnomemedia2/Makefile index 6b079e2..7eeb011 100644 --- a/audio/gnomemedia2/Makefile +++ b/audio/gnomemedia2/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomemedia2 PORTVERSION= 2.6.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-media/2.6 diff --git a/audio/gnomemedia2/files/patch-gnome-cd_cddb.c b/audio/gnomemedia2/files/patch-gnome-cd_cddb.c new file mode 100644 index 0000000..4542286 --- /dev/null +++ b/audio/gnomemedia2/files/patch-gnome-cd_cddb.c @@ -0,0 +1,19 @@ +--- gnome-cd/cddb.c.orig Sun May 9 11:19:57 2004 ++++ gnome-cd/cddb.c Sun Aug 22 16:18:18 2004 +@@ -197,7 +197,6 @@ + } + + info = g_hash_table_lookup (cddb_cache, discid); +- g_free (discid); + + if (info != NULL) { + gcd->disc_info = info; +@@ -228,6 +227,8 @@ + data->nsecs, "GnomeCD", VERSION); + + gnome_cdrom_free_cddb_data (data); ++ g_free (discid); ++ g_free (offsets); + } + + int |