diff options
author | tastytea <gentoo@tastytea.de> | 2024-06-29 13:43:18 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-07-26 10:40:31 +0300 |
commit | 84c4b307d7073adfeb1de635e0d6e09819befe92 (patch) | |
tree | ca262b0c868f862760705d9f5cf355fbd171f7ea /games-simulation | |
parent | games-simulation/simutrans: add 124.1 (diff) | |
download | gentoo-84c4b307d7073adfeb1de635e0d6e09819befe92.tar.gz gentoo-84c4b307d7073adfeb1de635e0d6e09819befe92.tar.bz2 gentoo-84c4b307d7073adfeb1de635e0d6e09819befe92.zip |
games-simulation/simutrans: fix net-libs/miniupnpc dependency
miniupnpc changed API in 2.2.8, simutrans doesn't build with it
- patch 124.0
- restrict miniupnpc version in 123.0.1-r2
Bug: https://bugs.gentoo.org/935134
Signed-off-by: tastytea <gentoo@tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/37357
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/simutrans/simutrans-123.0.1-r2.ebuild | 2 | ||||
-rw-r--r-- | games-simulation/simutrans/simutrans-124.0.ebuild | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild b/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild index 094782d07975..4c3b32b2f157 100644 --- a/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild +++ b/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild @@ -35,7 +35,7 @@ DEPEND=" sys-libs/zlib midi? ( media-sound/fluidsynth:=[sdl] ) truetype? ( media-libs/freetype ) - upnp? ( net-libs/miniupnpc:= ) + upnp? ( <net-libs/miniupnpc-2.2.8:= ) zstd? ( app-arch/zstd ) " RDEPEND=" diff --git a/games-simulation/simutrans/simutrans-124.0.ebuild b/games-simulation/simutrans/simutrans-124.0.ebuild index 87559c0abb1b..897eb3f3b8d1 100644 --- a/games-simulation/simutrans/simutrans-124.0.ebuild +++ b/games-simulation/simutrans/simutrans-124.0.ebuild @@ -49,7 +49,10 @@ BDEPEND=" " RESTRICT="test" # Opens the program and doesn't close it. -PATCHES=( "${FILESDIR}"/${PN}-124.0-disable-svn-check.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-124.0-disable-svn-check.patch + "${FILESDIR}"/${PN}-124.1-fix-miniupnpc-api.patch +) src_unpack() { unpack "simutrans-src-${MY_PV}.zip" |