diff options
Diffstat (limited to 'devel/pkgconfig/files/patch-pkg.c')
-rw-r--r-- | devel/pkgconfig/files/patch-pkg.c | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/devel/pkgconfig/files/patch-pkg.c b/devel/pkgconfig/files/patch-pkg.c index f928ebc29910..79606e24f0a8 100644 --- a/devel/pkgconfig/files/patch-pkg.c +++ b/devel/pkgconfig/files/patch-pkg.c @@ -1,6 +1,6 @@ ---- pkg.c.orig Thu Jan 16 16:07:09 2003 -+++ pkg.c Wed Jan 22 18:11:41 2003 -@@ -113,7 +113,7 @@ +--- pkg.c.orig Tue Apr 12 07:08:13 2005 ++++ pkg.c Tue Apr 12 13:55:42 2005 +@@ -128,7 +128,7 @@ name_ends_in_uninstalled (const char *st * locations, ignoring duplicates */ static void @@ -9,24 +9,13 @@ { DIR *dir; struct dirent *dent; -@@ -133,7 +133,8 @@ +@@ -148,7 +148,8 @@ scan_dir (const char *dirname) free (dirname_copy); if (!dir) { - debug_spew ("Cannot open directory '%s' in package search path: %s\n", + if (!quiet) -+ debug_spew ("Cannot open directory '%s' in package search path: %s\n", ++ debug_spew ("Cannot open directory '%s' in package search path: %s\n", dirname, g_strerror (errno)); return; } -@@ -202,7 +203,9 @@ - path_positions = g_hash_table_new (g_str_hash, g_str_equal); - - g_slist_foreach (search_dirs, (GFunc)scan_dir, NULL); -- scan_dir (pkglibdir); -+ scan_dir (pkglibdir, (void *)0); -+ scan_dir (XPKGLIBDIR, (void *)1); -+ scan_dir (LPKGLIBDIR, (void *)1); - } - } - |