rust/cargo-c: update to 0.10.9+cargo-0.85.0
[oi-userland.git] / components / developer / meson / patches / 06-system-curses.patch
blob1b641392d772cd9f741f3ab32f25dbb3be3191cc
1 --- meson-1.6.0/mesonbuild/dependencies/misc.py.orig
2 +++ meson-1.6.0/mesonbuild/dependencies/misc.py
3 @@ -339,10 +339,10 @@
4 super().__init__(name, env, kwargs)
6 candidates = [
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
15 @@ -364,6 +364,8 @@
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'):
20 + self.version = f'0'
22 # Check the version if possible, emit a warning if we can't
23 req = kwargs.get('version')