aboutsummaryrefslogtreecommitdiff
path: root/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp')
-rw-r--r--x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp b/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp
index 925f8e6348d2..ca7a162add4a 100644
--- a/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp
+++ b/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp
@@ -1,9 +1,9 @@
---- ../kio/kfile/kpropertiesdialog.cpp.orig 2009-03-26 17:44:17.000000000 +0300
-+++ ../kio/kfile/kpropertiesdialog.cpp 2009-04-03 00:02:27.000000000 +0400
-@@ -1770,7 +1770,15 @@
- // pick the groups to which the user belongs
- int groupCount = 0;
+--- ../kio/kfile/kpropertiesdialog.cpp.orig 2009-05-28 23:22:21.000000000 +0400
++++ ../kio/kfile/kpropertiesdialog.cpp 2009-05-29 23:35:59.000000000 +0400
+@@ -1774,7 +1774,15 @@
+ #else
gid_t *groups = NULL;
+ #endif
+#ifdef Q_OS_FREEBSD
+#include <osreldate.h>
+#endif
@@ -13,6 +13,6 @@
+#else
if (getgrouplist(strUser, user->pw_gid, NULL, &groupCount) < 0) {
+#endif
- groups = new gid_t[groupCount];
- if (groups) {
- getgrouplist(strUser, user->pw_gid, groups, &groupCount);
+ #ifdef Q_OS_MAC
+ groups = new int[groupCount];
+ #else