Source: netpanzer
Version: 0.8.7+ds-4
Severity: important
Tags: patch

Hi,

SCons 4.3.0 was released some time ago. I've packaged it and would
like to upload it in the next day or so. Your package FTBFS with that,
for which a patch is attached to fix it.

Regards,
Laszlo/GCS
Description: SCons 4.2.0 no longer has env.has_key()
 Check env as an array.
Author: Laszlo Boszormenyi (GCS) <g...@debian.org>
Forwarded: no
Last-Update: 2022-01-01

---

--- netpanzer-0.8.7+ds.orig/SConstruct
+++ netpanzer-0.8.7+ds/SConstruct
@@ -237,7 +237,7 @@ npdirs = """
 """
 
 env.Append( NPSOURCES = globSources(env, 'src/NetPanzer', npdirs, "*.cpp") )
-if env.has_key('WINICON'):
+if 'WINICON' in env:
     env.Append( NPSOURCES = env['WINICON'] )
 
 env.Prepend( LIBS = ['np2d','lua5.1','npnetwork','nplibs','physfs'] )

Reply via email to