diff options
author | flz <flz@FreeBSD.org> | 2009-02-23 17:56:02 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2009-02-23 17:56:02 +0800 |
commit | 8552f8d1ec91028cc71f12d06eb5e3413529b061 (patch) | |
tree | 3ea22f60c6422c7202eb73d8897e3c4d59c6a198 /multimedia | |
parent | 8a9fa6907456673bfa059d237490d407e1cea94b (diff) | |
download | freebsd-ports-gnome-8552f8d1ec91028cc71f12d06eb5e3413529b061.tar.gz freebsd-ports-gnome-8552f8d1ec91028cc71f12d06eb5e3413529b061.tar.zst freebsd-ports-gnome-8552f8d1ec91028cc71f12d06eb5e3413529b061.zip |
Fix startup issue when cache directory doesn't exist.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/banshee/Makefile | 1 | ||||
-rw-r--r-- | multimedia/banshee/files/patch-fix-startup | 13 |
2 files changed, 14 insertions, 0 deletions
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 <TranscodeContext> (); + + 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); |