diff --git a/srcpkgs/stress-ng/template b/srcpkgs/stress-ng/template index d87fc5e8375..8d8d41ed7ab 100644 --- a/srcpkgs/stress-ng/template +++ b/srcpkgs/stress-ng/template @@ -15,3 +15,10 @@ case "$XBPS_MACHINE" in # stress-vecshuf.c:107:39: internal compiler error: in expand_debug_locations, at cfgexpand.c:5458 x86_64) nodebug=yes;; esac + +post_patch() { + if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + sed -i 's/list_methods\[\]/list_methods[0]/g' stress-list.c + fi +} +