diff -ru pkg-config-0.23/main.c pkg-config-0.23-patched/main.c --- pkg-config-0.23/main.c 2008-01-16 17:06:48.000000000 -0500 +++ pkg-config-0.23-patched/main.c 2008-02-06 00:31:44.000000000 -0500 @@ -173,26 +173,26 @@ int main (int argc, char **argv) { - int want_my_version = 0; - int want_version = 0; - int want_libs = 0; - int want_cflags = 0; - int want_l_libs = 0; - int want_L_libs = 0; - int want_other_libs = 0; - int want_I_cflags = 0; - int want_other_cflags = 0; - int want_list = 0; - int want_static_lib_list = ENABLE_INDIRECT_DEPS; - int want_short_errors = 0; + static int want_my_version = 0; + static int want_version = 0; + static int want_libs = 0; + static int want_cflags = 0; + static int want_l_libs = 0; + static int want_L_libs = 0; + static int want_other_libs = 0; + static int want_I_cflags = 0; + static int want_other_cflags = 0; + static int want_list = 0; + static int want_static_lib_list = ENABLE_INDIRECT_DEPS; + static int want_short_errors = 0; int result; - int want_uninstalled = 0; - char *variable_name = NULL; - int want_exists = 0; - char *required_atleast_version = NULL; - char *required_exact_version = NULL; - char *required_max_version = NULL; - char *required_pkgconfig_version = NULL; + static int want_uninstalled = 0; + static char *variable_name = NULL; + static int want_exists = 0; + static char *required_atleast_version = NULL; + static char *required_exact_version = NULL; + static char *required_max_version = NULL; + static char *required_pkgconfig_version = NULL; int want_silence_errors = 0; GString *str; GSList *packages = NULL;