Commit graph

2 commits

Author SHA1 Message Date
cmitu
3c961d13ec advmame: fix build with newer GCC for older versions
With gcc10 and newer, the `-fno-common` option is the default, causing
issues for global variables with multiple declarations that are missing the `external` initializer.
See https://wiki.gentoo.org/wiki/Project:Toolchain/Gcc_10_porting_notes/fno_common for a summary.

Added a couple of patches to fix building for older `advmame` versions:
 * for `advmame-1.4`, pick https://github.com/amadvance/advancemame/commit/f8688cae05
 * for `advmame-0.94`, created a separate patch

As a minor modification, used the scriptmodule `md_path` variable to calculate the patch folder location.
2021-12-08 11:43:05 +00:00
Jools Wills
7b79cdd16c advmame - split advmame into multiple packages
* rework patch code
 * use 0.94 instead of 0.94.0
 * make advmame always be the latest advmame version with advmame.rc as the config
 * remove any old emulator.cfg entries
 * update advmame to v3.3
2017-02-22 19:47:16 +00:00