diff --git a/srcpkgs/squeak/template b/srcpkgs/squeak/template index 5fedd1a00d1..26b5b06f3e5 100644 --- a/srcpkgs/squeak/template +++ b/srcpkgs/squeak/template @@ -16,6 +16,11 @@ homepage="http://squeakvm.org" distfiles="http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz" checksum=3db6d12ea223e5bc49f52af7f6f832e383a3a006a53bc8a87f6469e1af5dfc2e +# a terrible hack around terrible code +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + CFLAGS+=" -D__NEED_struct__IO_FILE" +fi + post_install() { vlicense unix/doc/LICENSE }