diff --git a/srcpkgs/0ad/patches/ppc-musl.patch b/srcpkgs/0ad/patches/ppc-musl.patch new file mode 100644 index 00000000000..388943badb1 --- /dev/null +++ b/srcpkgs/0ad/patches/ppc-musl.patch @@ -0,0 +1,15 @@ +On musl this is necessary to get full definition of pt_regs. + +--- libraries/source/nvtt/src/src/nvcore/Debug.cpp ++++ libraries/source/nvtt/src/src/nvcore/Debug.cpp +@@ -27,6 +27,10 @@ + # include + #endif + ++#if NV_OS_LINUX ++# include // struct pt_regs ++#endif ++ + #if NV_OS_LINUX || NV_OS_DARWIN || NV_OS_FREEBSD || NV_OS_OPENBSD + # include // getpid + #endif