mame: fix musl build
This commit is contained in:
parent
dde8ce32aa
commit
cef987d6f6
1 changed files with 10 additions and 0 deletions
10
srcpkgs/mame/patches/pagesize-name-clash.patch
Normal file
10
srcpkgs/mame/patches/pagesize-name-clash.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/lib/netlist/plib/palloc.h 2020-06-26 07:55:07.000000000 +0200
|
||||
+++ src/lib/netlist/plib/palloc.h 2020-06-27 17:37:11.920172697 +0200
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef> // for std::max_align_t (usually long long)
|
||||
+#undef PAGESIZE // for PAGESIZE
|
||||
#include <memory>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
Loading…
Reference in a new issue