summaryrefslogtreecommitdiffstats
path: root/testing/unetbootin/allow-ntfs.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-05-28 06:42:23 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2013-05-28 06:42:40 -0500
commit59e25fde062576dee258e23b74097a5a747ba329 (patch)
treea24eb1af33ca0ecbcf37e3f889cacb130c279977 /testing/unetbootin/allow-ntfs.patch
parentc1832278d7abd29ce634cd25d1b5f1394ba80bce (diff)
downloadaports-59e25fde062576dee258e23b74097a5a747ba329.tar.bz2
aports-59e25fde062576dee258e23b74097a5a747ba329.tar.xz
testing/unetbootin: new aport
Diffstat (limited to 'testing/unetbootin/allow-ntfs.patch')
-rw-r--r--testing/unetbootin/allow-ntfs.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/unetbootin/allow-ntfs.patch b/testing/unetbootin/allow-ntfs.patch
new file mode 100644
index 000000000..d8e72c191
--- /dev/null
+++ b/testing/unetbootin/allow-ntfs.patch
@@ -0,0 +1,20 @@
+--- src.orig/unetbootin.cpp
++++ src/unetbootin.cpp
+@@ -572,7 +572,7 @@
+ {
+ if (!volidcommand.isEmpty())
+ {
+- if (QString(callexternapp(volidcommand, QString("-t %2").arg(usbfileinfoL.at(i).canonicalFilePath()))).contains(QRegExp("(vfat|ext2|ext3|ext4)")))
++ if (QString(callexternapp(volidcommand, QString("-t %2").arg(usbfileinfoL.at(i).canonicalFilePath()))).contains(QRegExp("(vfat|ntfs|ext2|ext3|ext4)")))
+ fulldrivelist.append(usbfileinfoL.at(i).canonicalFilePath());
+ }
+ else
+@@ -580,7 +580,7 @@
+ QString tstrblk = QString(callexternapp(blkidcommand, QString("-s TYPE %2").arg(usbfileinfoL.at(i).canonicalFilePath())));
+ if (tstrblk.contains('='))
+ {
+- if (tstrblk.section('=', -1, -1).remove('"').contains(QRegExp("(vfat|ext2|ext3|ext4)")))
++ if (tstrblk.section('=', -1, -1).remove('"').contains(QRegExp("(vfat|ntfs|ext2|ext3|ext4)")))
+ fulldrivelist.append(usbfileinfoL.at(i).canonicalFilePath());
+ }
+ }