summaryrefslogtreecommitdiffstats
path: root/sysutils/policykit/files/patch-src_polkit_polkit-policy-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/policykit/files/patch-src_polkit_polkit-policy-cache.c')
-rw-r--r--sysutils/policykit/files/patch-src_polkit_polkit-policy-cache.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/sysutils/policykit/files/patch-src_polkit_polkit-policy-cache.c b/sysutils/policykit/files/patch-src_polkit_polkit-policy-cache.c
deleted file mode 100644
index 793b53110..000000000
--- a/sysutils/policykit/files/patch-src_polkit_polkit-policy-cache.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- src/polkit/polkit-policy-cache.c.orig 2007-11-29 01:14:09.000000000 -0500
-+++ src/polkit/polkit-policy-cache.c 2007-12-24 14:51:04.000000000 -0500
-@@ -98,7 +98,11 @@ PolKitPolicyCache *
- _polkit_policy_cache_new (const char *dirname, polkit_bool_t load_descriptions, PolKitError **error)
- {
- DIR *dir;
-+#ifdef HAVE_READDIR64
- struct dirent64 *d;
-+#else
-+ struct dirent *d;
-+#endif
- PolKitPolicyCache *pc;
-
- dir = NULL;
-@@ -119,7 +123,11 @@ _polkit_policy_cache_new (const char *di
- goto out;
- }
-
-+#ifdef HAVE_READDIR64
- while ((d = readdir64 (dir)) != NULL) {
-+#else
-+ while ((d = readdir (dir)) != NULL) {
-+#endif
- char *path;
- PolKitPolicyFile *pf;
- PolKitError *pk_error;