ae69000001
* arduino and antiword is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
20 lines
872 B
Diff
20 lines
872 B
Diff
--- a/actions/actionpacksystem/systeminfo/linux/qstorageinfo_linux.cpp 2018-07-17 20:29:12.000000000 +0200
|
|
+++ b/actions/actionpacksystem/systeminfo/linux/qstorageinfo_linux.cpp 2018-07-28 13:26:14.340872982 +0200
|
|
@@ -98,7 +98,7 @@
|
|
}
|
|
#else
|
|
struct statfs statistics;
|
|
- if (statfs(drive.toLatin1(), &statistics) == 0) {
|
|
+ if (statfs(drive.toLatin1().constData(), &statistics) == 0) {
|
|
qlonglong blockSize = statistics.f_bsize;
|
|
qlonglong availBlocks = statistics.f_bavail;
|
|
return availBlocks * blockSize;
|
|
@@ -118,7 +118,7 @@
|
|
}
|
|
#else
|
|
struct statfs statistics;
|
|
- if (statfs(drive.toLatin1(), &statistics) == 0) {
|
|
+ if (statfs(drive.toLatin1().constData(), &statistics) == 0) {
|
|
qlonglong blockSize = statistics.f_bsize;
|
|
qlonglong totalBlocks = statistics.f_blocks;
|
|
return totalBlocks * blockSize;
|