1 --- meson-1.6.0/mesonbuild/dependencies/misc.py.orig
2 +++ meson-1.6.0/mesonbuild/dependencies/misc.py
4 super().__init__(name, env, kwargs)
7 + ('curses', ['curses.h']),
8 ('pdcurses', ['pdcurses/curses.h']),
9 ('ncursesw', ['ncursesw/ncurses.h', 'ncurses.h']),
10 ('ncurses', ['ncurses/ncurses.h', 'ncurses/curses.h', 'ncurses.h']),
11 - ('curses', ['curses.h']),
14 # Not sure how else to elegantly break out of both loops
16 v_major, _ = self.clib_compiler.get_define('PDC_VER_MAJOR', f'#include <{header}>', env, [], [self])
17 v_minor, _ = self.clib_compiler.get_define('PDC_VER_MINOR', f'#include <{header}>', env, [], [self])
18 self.version = f'{v_major}.{v_minor}'
19 + if lib.startswith('curses'):
22 # Check the version if possible, emit a warning if we can't
23 req = kwargs.get('version')