aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdelibs4
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-04-03 04:20:43 +0800
committermakc <makc@FreeBSD.org>2009-04-03 04:20:43 +0800
commitb10dc19b83a34255e660e5c62310c18b0ed5dbab (patch)
tree9f565abc7b713b7b8112407f42a54b65b6289737 /x11/kdelibs4
parent78f3a2c84255845a0e7c818a02dd216073c766fb (diff)
downloadfreebsd-ports-gnome-b10dc19b83a34255e660e5c62310c18b0ed5dbab.tar.gz
freebsd-ports-gnome-b10dc19b83a34255e660e5c62310c18b0ed5dbab.tar.zst
freebsd-ports-gnome-b10dc19b83a34255e660e5c62310c18b0ed5dbab.zip
Fix patch to allow build on HEAD
Diffstat (limited to 'x11/kdelibs4')
-rw-r--r--x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp b/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp
index c092f49144c9..925f8e6348d2 100644
--- a/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp
+++ b/x11/kdelibs4/files/patch-kio_kfile_kpropertiesdialog.cpp
@@ -1,15 +1,15 @@
--- ../kio/kfile/kpropertiesdialog.cpp.orig 2009-03-26 17:44:17.000000000 +0300
-+++ ../kio/kfile/kpropertiesdialog.cpp 2009-04-02 10:12:09.000000000 +0400
++++ ../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;
gid_t *groups = NULL;
+#ifdef Q_OS_FREEBSD
+#include <osreldate.h>
-+#if (__FreeBSD_version <= 800000) // Fixed in kern/114655
++#endif
++#if defined(Q_OS_FREEBSD) && (__FreeBSD_version <= 800000) // Fixed in kern/114655
+ gid_t tmp_group;
+ if (getgrouplist(strUser, user->pw_gid, &tmp_group, &groupCount) < 0) {
-+#endif
+#else
if (getgrouplist(strUser, user->pw_gid, NULL, &groupCount) < 0) {
+#endif