aboutsummaryrefslogtreecommitdiffstats
path: root/audio/amarok
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2007-01-18 20:52:52 +0800
committermich <mich@FreeBSD.org>2007-01-18 20:52:52 +0800
commitf9252ef9af7737457adf4727a4ec2fe0e4393487 (patch)
tree86093217149ad64a4094a9b556dc1da47753ab4f /audio/amarok
parent0e98ed44b20b596a5276654fc4f6b6826a86a88a (diff)
downloadfreebsd-ports-gnome-f9252ef9af7737457adf4727a4ec2fe0e4393487.tar.gz
freebsd-ports-gnome-f9252ef9af7737457adf4727a4ec2fe0e4393487.tar.zst
freebsd-ports-gnome-f9252ef9af7737457adf4727a4ec2fe0e4393487.zip
- add patch so amarok can understand FreeBSD MSDOS FS.
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
Diffstat (limited to 'audio/amarok')
-rw-r--r--audio/amarok/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/audio/amarok/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp b/audio/amarok/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp
index 63bc30ea1ca7..03e8b914d812 100644
--- a/audio/amarok/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp
+++ b/audio/amarok/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp
@@ -3,7 +3,22 @@ $FreeBSD$
--- amarok/src/mediadevice/generic/genericmediadevice.cpp.orig
+++ amarok/src/mediadevice/generic/genericmediadevice.cpp
-@@ -406,7 +406,7 @@
+@@ -415,7 +415,13 @@
+ if( m_medium.mountPoint() == (*mountiter)->mountPoint() )
+ m_medium.setFsType( (*mountiter)->mountType() );
+ }
+- m_actuallyVfat = m_medium.fsType() == "vfat" ? true : false;
++ m_actuallyVfat = m_medium.fsType() ==
++#ifdef __FreeBSD__
++"msdosfs"
++#else
++"vfat"
++#endif
++ ? true : false;
+ m_connected = true;
+ m_transferDir = m_medium.mountPoint();
+ m_initialFile = new GenericMediaFile( 0, m_medium.mountPoint(), this );
+@@ -457,7 +463,7 @@
debug() << "Renaming: " << src << " to: " << dst << endl;
//do we want a progress dialog? If so, set last false to true