guitarix2: fix build with current glib
This commit is contained in:
@@ -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' ./)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user