635e9da391
* par 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 ```
16 lines
525 B
Diff
16 lines
525 B
Diff
Compile with -fvisibility-inlines-hidden to reduce
|
|
the amount of exported symbols that we need to take
|
|
care of in the .symbols file.
|
|
Index: libqtpas/Qt5Pas.pro
|
|
===================================================================
|
|
--- a/Qt5Pas.pro
|
|
+++ b/Qt5Pas.pro
|
|
@@ -21,7 +21,7 @@ TEMPLATE = lib
|
|
VPATH = src
|
|
MOC_DIR = tmp
|
|
OBJECTS_DIR = tmp
|
|
-QMAKE_CXXFLAGS += -Wfatal-errors
|
|
+QMAKE_CXXFLAGS += -Wfatal-errors -fvisibility-inlines-hidden
|
|
|
|
# Match Intel x86_64 i686 i586 i386 x86 ...
|
|
is86 = $$find(QMAKE_HOST.arch, ".*86")
|