From 32077c50e4746588dcb88ee3518fe7336dd90c86 Mon Sep 17 00:00:00 2001 From: Florent Thoumie Date: Mon, 23 Feb 2009 09:56:02 +0000 Subject: Fix startup issue when cache directory doesn't exist. --- multimedia/banshee/Makefile | 1 + multimedia/banshee/files/patch-fix-startup | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 multimedia/banshee/files/patch-fix-startup (limited to 'multimedia/banshee') diff --git a/multimedia/banshee/Makefile b/multimedia/banshee/Makefile index 1edadbdfa0ba..83fc1d5e71a6 100644 --- a/multimedia/banshee/Makefile +++ b/multimedia/banshee/Makefile @@ -7,6 +7,7 @@ PORTNAME= banshee PORTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= multimedia audio MASTER_SITES= http://download.banshee-project.org/banshee/ DISTNAME= ${PORTNAME}-1-${PORTVERSION} diff --git a/multimedia/banshee/files/patch-fix-startup b/multimedia/banshee/files/patch-fix-startup new file mode 100644 index 000000000000..067208416a27 --- /dev/null +++ b/multimedia/banshee/files/patch-fix-startup @@ -0,0 +1,13 @@ +--- src/Core/Banshee.Services/Banshee.MediaEngine/TranscoderService.cs.orig 2008-10-01 17:43:36.000000000 +0000 ++++ src/Core/Banshee.Services/Banshee.MediaEngine/TranscoderService.cs 2009-02-23 09:48:57.000000000 +0000 +@@ -97,7 +97,9 @@ + queue = new Queue (); + + try { +- Banshee.IO.Directory.Delete (cache_dir, true); ++ if (Banshee.IO.Directory.Exists (cache_dir)) { ++ Banshee.IO.Directory.Delete (cache_dir, true); ++ } + } catch {} + + Banshee.IO.Directory.Create (cache_dir); -- cgit v1.2.3