aboutsummaryrefslogtreecommitdiff
path: root/devel/pkg-config/files/patch-pkg.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pkg-config/files/patch-pkg.c')
-rw-r--r--devel/pkg-config/files/patch-pkg.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/devel/pkg-config/files/patch-pkg.c b/devel/pkg-config/files/patch-pkg.c
deleted file mode 100644
index f928ebc29910..000000000000
--- a/devel/pkg-config/files/patch-pkg.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- pkg.c.orig Thu Jan 16 16:07:09 2003
-+++ pkg.c Wed Jan 22 18:11:41 2003
-@@ -113,7 +113,7 @@
- * locations, ignoring duplicates
- */
- static void
--scan_dir (const char *dirname)
-+scan_dir (const char *dirname, void *quiet)
- {
- DIR *dir;
- struct dirent *dent;
-@@ -133,7 +133,8 @@
- 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",
- 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);
- }
- }
-