HomeFreeBSD

benchmarks/glmark2: unbreak build with python311

Description

benchmarks/glmark2: unbreak build with python311

Traceback (most recent call last):

File "waflib/Scripting.py", line 104, in waf_entry_point
  set_main_module(os.path.normpath(os.path.join(Context.run_dir,Context.WSCRIPT_FILE)))
File "waflib/Scripting.py", line 135, in set_main_module
  Context.g_module=Context.load_module(file_path)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "waflib/Context.py", line 343, in load_module
  code=Utils.readf(path,m='rU',encoding=encoding)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "waflib/Utils.py", line 117, in readf
  f=open(fname,m)
    ^^^^^^^^^^^^^

ValueError: invalid mode: 'rUb'

Details

Provenance
jbeichAuthored on Dec 6 2022, 3:44 AM
Parents
R11:2367a223013c: x11-wm/hyprland: update to 0.19.1.b
Branches
Unknown
Tags
Unknown