summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-09-29 11:29:15 +0100
committerSam James <sam@gentoo.org>2023-09-29 11:32:16 +0100
commit9bda5dd1af00436a587b9e5f021835c219f5197c (patch)
treebc52c9324a5dc83f4e5d8f1c90b91c499904d355 /games-fps
parentgames-rpg/xu4: drop patch for newer zlib (diff)
downloadgentoo-9bda5dd1af00436a587b9e5f021835c219f5197c.tar.gz
gentoo-9bda5dd1af00436a587b9e5f021835c219f5197c.tar.bz2
gentoo-9bda5dd1af00436a587b9e5f021835c219f5197c.zip
games-fps/urbanterror: drop workaround for newer zlib
See 491bf8bd3ef621da49b168736a04f23aa4c7719c. Could do ifndef in patch but I'd like to remove all of these eventually and there's only a handful. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild b/games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild
index b0041846f317..28b623b2193d 100644
--- a/games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild
+++ b/games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -68,7 +68,7 @@ src_configure() {
src_compile() {
# Workaround for used zlib macro, which got renamed in Gentoo
# wrt bug #449510
- append-cppflags "-DOF=_Z_OF"
+ has_version "<sys-libs/zlib-1.3" && append-cppflags "-DOF=_Z_OF"
local myemakeargs=(
ARCH=$(usex amd64 "x86_64" "i686" )