b6bcd8cd34
* 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 ```
26 lines
1 KiB
Diff
26 lines
1 KiB
Diff
Index: config/acinclude.m4
|
|
===================================================================
|
|
--- a/config/acinclude.m4
|
|
+++ b/config/acinclude.m4
|
|
@@ -302,19 +302,8 @@ Please define variable QMAKE and possibl
|
|
Defining QTDIR can help although it is deprecated.])
|
|
fi
|
|
mkdir conftest.d
|
|
- cat > conftest.d/conftest.pro <<\EOF
|
|
-changequote(<<, >>)dnl
|
|
-message(QMAKE_UIC="$$QMAKE_UIC")dnl qt4 only
|
|
-message(QMAKE_MOC="$$QMAKE_MOC")dnl qt4 only
|
|
-message(QT_VERSION="$$[QT_VERSION]")
|
|
-message(QT_INSTALL_PREFIX="$$[QT_INSTALL_PREFIX]")
|
|
-message(QT_INSTALL_DATA="$$[QT_INSTALL_DATA]")
|
|
-message(QT_INSTALL_HEADERS="$$[QT_INSTALL_HEADERS]")
|
|
-message(QT_INSTALL_BINS="$$[QT_INSTALL_BINS]")
|
|
-changequote([, ])dnl
|
|
-EOF
|
|
- if ( cd conftest.d && $QMAKE > conftest.out 2>&1 ) ; then
|
|
- sed -e 's/^.*: *//' < conftest.d/conftest.out > conftest.d/conftest.sh
|
|
+ if ( cd conftest.d && $QMAKE -query > conftest.out 2>/dev/null ) ; then
|
|
+ sed -e 's/:/=/' < conftest.d/conftest.out > conftest.d/conftest.sh
|
|
. conftest.d/conftest.sh
|
|
rm -rf conftest.d
|
|
else
|