commit:     9bda5dd1af00436a587b9e5f021835c219f5197c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 29 10:29:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 29 10:32:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bda5dd1

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 <AT> gentoo.org>

 games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild | 4 ++--
 1 file 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" )

Reply via email to