diff options
-rw-r--r-- | audio/amarok-kde4/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp | 17 | ||||
-rw-r--r-- | audio/amarok/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp | 17 |
2 files changed, 32 insertions, 2 deletions
diff --git a/audio/amarok-kde4/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp b/audio/amarok-kde4/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp index 63bc30ea1ca7..03e8b914d812 100644 --- a/audio/amarok-kde4/files/patch-amarok_src_mediadevice_generic_genericmediadevice.cpp +++ b/audio/amarok-kde4/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 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 |