diff options
author | marcus <marcus@FreeBSD.org> | 2004-08-23 04:22:44 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-08-23 04:22:44 +0800 |
commit | 45fa8256b2e70d2ad5c004815a772681b67ebfb2 (patch) | |
tree | d7b3465f493a8cad72f05aa549c589b2bc7c8dc0 | |
parent | 15ec5ca1adad869755db28c33d1e52590b987873 (diff) | |
download | freebsd-ports-gnome-45fa8256b2e70d2ad5c004815a772681b67ebfb2.tar.gz freebsd-ports-gnome-45fa8256b2e70d2ad5c004815a772681b67ebfb2.tar.zst freebsd-ports-gnome-45fa8256b2e70d2ad5c004815a772681b67ebfb2.zip |
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)
-rw-r--r-- | audio/gnome-media/Makefile | 2 | ||||
-rw-r--r-- | audio/gnome-media/files/patch-gnome-cd_cddb.c | 19 | ||||
-rw-r--r-- | audio/gnomemedia2/Makefile | 2 | ||||
-rw-r--r-- | audio/gnomemedia2/files/patch-gnome-cd_cddb.c | 19 |
4 files changed, 40 insertions, 2 deletions
diff --git a/audio/gnome-media/Makefile b/audio/gnome-media/Makefile index 6b079e2c4601..7eeb0111b18d 100644 --- a/audio/gnome-media/Makefile +++ b/audio/gnome-media/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/gnome-media/files/patch-gnome-cd_cddb.c b/audio/gnome-media/files/patch-gnome-cd_cddb.c new file mode 100644 index 000000000000..45422866cac8 --- /dev/null +++ b/audio/gnome-media/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 diff --git a/audio/gnomemedia2/Makefile b/audio/gnomemedia2/Makefile index 6b079e2c4601..7eeb0111b18d 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 000000000000..45422866cac8 --- /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 |