c987560802
```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 ```
30 lines
943 B
Diff
30 lines
943 B
Diff
--- a/c++/patchcanvas/canvasbezierline.cpp 2019-11-17 21:34:05.000000000 +0100
|
|
+++ b/c++/patchcanvas/canvasbezierline.cpp 2020-09-02 13:13:34.042234477 +0200
|
|
@@ -18,6 +18,7 @@
|
|
#include "canvasbezierline.h"
|
|
|
|
#include <QtGui/QPainter>
|
|
+#include <QtGui/QPainterPath>
|
|
|
|
#include "canvasport.h"
|
|
#include "canvasportglow.h"
|
|
--- a/c++/patchcanvas/canvasbezierlinemov.cpp 2019-11-17 21:34:05.000000000 +0100
|
|
+++ b/c++/patchcanvas/canvasbezierlinemov.cpp 2020-09-02 13:13:27.093234119 +0200
|
|
@@ -18,6 +18,7 @@
|
|
#include "canvasbezierlinemov.h"
|
|
|
|
#include <QtGui/QPainter>
|
|
+#include <QtGui/QPainterPath>
|
|
|
|
#include "canvasport.h"
|
|
|
|
--- a/c++/widgets/pixmapdial.cpp 2019-11-17 21:34:05.000000000 +0100
|
|
+++ b/c++/widgets/pixmapdial.cpp 2020-09-02 13:13:16.853233591 +0200
|
|
@@ -21,6 +21,7 @@
|
|
|
|
#include <QtCore/QTimer>
|
|
#include <QtGui/QPainter>
|
|
+#include <QtGui/QPainterPath>
|
|
#include <QtGui/QPaintEvent>
|
|
|
|
PixmapDial::PixmapDial(QWidget* parent)
|