* daemontools and dmraid 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 ```
28 lines
648 B
Diff
28 lines
648 B
Diff
For Qt5 the header files of widgets have to be explicitly included.
|
|
|
|
--- a/dialogbox.hpp 2016-03-02 20:31:01.000000000 +0100
|
|
+++ b/dialogbox.hpp 2016-12-27 21:54:05.335465144 +0100
|
|
@@ -22,6 +22,23 @@
|
|
#define DIALOGBOX_H
|
|
|
|
#include <QtGui>
|
|
+#include <QApplication>
|
|
+#include <QDir>
|
|
+#include <QFile>
|
|
+#include <QDialog>
|
|
+#include <QTabWidget>
|
|
+#include <QListWidget>
|
|
+#include <QBoxLayout>
|
|
+#include <QLayoutItem>
|
|
+#include <QLabel>
|
|
+#include <QCheckBox>
|
|
+#include <QGroupBox>
|
|
+#include <QRadioButton>
|
|
+#include <QPushButton>
|
|
+#include <QProgressBar>
|
|
+#include <QComboBox>
|
|
+#include <QLineEdit>
|
|
+#include <QTextEdit>
|
|
|
|
#define BUFFER_SIZE 1024
|
|
|