mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
guitarix2: fix build with current glib
This commit is contained in:
parent
8d5e95679d
commit
c3a482266f
1 changed files with 8 additions and 0 deletions
|
@ -36,3 +36,11 @@ if [ -n "$CROSS_BUILD" ]; then
|
||||||
vsed -i "/features='test_loadable',/d" src/ladspa/wscript
|
vsed -i "/features='test_loadable',/d" src/ladspa/wscript
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# we want to replace all occurrences of always_inline that are not in
|
||||||
|
# brackets or prefixed by _.
|
||||||
|
# defining always_inline as done by default breaks the [[gnu::always_inline]] attribute
|
||||||
|
vsed -e 's/\([^(_]\|^\)always_inline/\1guitarix_always_inline/g' \
|
||||||
|
-i $(grep -rl '[^(_]always_inline' ./)
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue