[tools] upx: fix build error
[openwrt.git] / tools / pkg-config / patches / 100-disable_compat_cmd.patch
1 --- a/parse.c
2 +++ b/parse.c
3 @@ -1187,15 +1187,12 @@ try_command (const char *command)
4 Package *
5 get_compat_package (const char *name)
6 {
7 -#ifdef G_OS_WIN32
8 - /* There has never been any of these legacy *-config scripts on
9 - * Windows as far as I know. No use trying to execute them, will
10 - * only confuse users to see the "blabla is not recognized as an
11 - * internal or external command, operable program or batch file"
12 - * messages.
13 + /*
14 + * We don't need this compatibility stuff on a system
15 + * that is free of legacy stuff
16 */
17 return NULL;
18 -#else
19 +#if 0
20
21 Package *pkg;
22
This page took 0.042144 seconds and 5 git commands to generate.