Diff melonds-jg-0.9.5 with a melonds-jg-9999
| /usr/portage/games-emulation/melonds-jg/melonds-jg-9999.ebuild 2025-07-29 16:22:14.276455103 +0300 | ||
|---|---|---|
| 1 |
# Copyright 2022-2024 Gentoo Authors |
|
| 1 |
# Copyright 2022-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 33 | 33 |
virtual/pkgconfig |
| 34 | 34 |
" |
| 35 | 35 | |
| 36 |
PATCHES=( |
|
| 37 |
"${FILESDIR}"/${P}-format.patch
|
|
| 38 |
"${FILESDIR}"/${P}-gcc14.patch # 917164
|
|
| 39 |
"${FILESDIR}"/${P}-teakra-no-test_generator.patch # 914196
|
|
| 40 |
) |
|
| 41 | ||
| 42 | 36 |
src_compile() {
|
| 43 |
# -Werror=strict-aliasing |
|
| 44 | 37 |
# https://bugs.gentoo.org/931907 |
| 45 |
# |
|
| 46 |
# Not trivial to fix and its a problem in melonds upstream. |
|
| 47 |
# Its also uncertain if this port will be updated in the future. |
|
| 38 |
# https://github.com/melonDS-emu/melonDS/issues/2349 |
|
| 48 | 39 |
append-flags -fno-strict-aliasing |
| 49 | 40 |
filter-lto |
| 50 | 41 | |