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.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/devel/pkg-config/files/patch-pkg.c b/devel/pkg-config/files/patch-pkg.c
deleted file mode 100644
index 3bf9b3f766bf..000000000000
--- a/devel/pkg-config/files/patch-pkg.c
+++ /dev/null
@@ -1,35 +0,0 @@
-
-$FreeBSD$
-
---- pkg.c.orig Mon May 28 16:02:53 2001
-+++ pkg.c Wed Jul 11 14:42:22 2001
-@@ -71,7 +71,7 @@
- * locations, ignoring duplicates
- */
- static void
--scan_dir (const char *dirname)
-+scan_dir (const char *dirname, void *quiet)
- {
- DIR *dir = opendir (dirname);
- struct dirent *dent;
-@@ -82,7 +82,8 @@
-
- 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;
- }
-@@ -141,7 +142,9 @@
- locations = 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);
- }
- }
-