summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage/portage-utils/files/portage-utils-0.61-solaris.patch')
-rw-r--r--app-portage/portage-utils/files/portage-utils-0.61-solaris.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/app-portage/portage-utils/files/portage-utils-0.61-solaris.patch b/app-portage/portage-utils/files/portage-utils-0.61-solaris.patch
deleted file mode 100644
index 8bcc9c1b0bad..000000000000
--- a/app-portage/portage-utils/files/portage-utils-0.61-solaris.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-qcache: work around missing d_type/DT_DIR
-
---- qcache.c
-+++ qcache.c
-@@ -750,13 +750,21 @@
-
- xasprintf(&catpath, "%s/dep/%s", portedb, data->overlay);
- dir = opendir(catpath);
-- while ((de = readdir(dir)))
-+ while ((de = readdir(dir))) {
-+#ifndef DT_DIR
-+ struct stat s;
-+ if (stat(de->d_name, &s))
-+ continue;
-+ if (S_ISDIR(s.st_mode) && de->d_name[0] != '.') {
-+#else
- if (de->d_type == DT_DIR && de->d_name[0] != '.') {
-+#endif
- bool ok;
- allcats = add_set_unique(de->d_name, allcats, &ok);
- if (ok)
- ++numcat;
- }
-+ }
- closedir(dir);
- free(catpath);
-