* gcc is kept at -Np0, because of void-cross ```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 ```
13 lines
506 B
Diff
13 lines
506 B
Diff
diff --git meson.build meson.build
|
|
index 8eed8f8..a1e38ab 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -24,7 +24,7 @@ dependency('gobject-2.0')
|
|
dependency('gobject-introspection-1.0')
|
|
dependency('gtk+-3.0', version: '>=3.16')
|
|
dependency('libsecret-1')
|
|
-dependency('zbar', version: '>= 0.20.1')
|
|
+dependency('zbar', version: '>= 0.10')
|
|
find_program('glib-compile-schemas', required: true)
|
|
find_program('gtk-update-icon-cache', required: false)
|
|
find_program('update-desktop-database', required: false)
|