aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cpu
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2007-07-14 05:18:22 +0800
committerlme <lme@FreeBSD.org>2007-07-14 05:18:22 +0800
commitf8ce291d2365d4bd4852b3cc2bbe8f6b438eae06 (patch)
tree2fad519c95fd711c1ee98ebfe65f3c4a5ea28e37 /sysutils/cpu
parent609fdf87565d7d642bd8e1f5f1e0713b74d76bbb (diff)
downloadfreebsd-ports-gnome-f8ce291d2365d4bd4852b3cc2bbe8f6b438eae06.tar.gz
freebsd-ports-gnome-f8ce291d2365d4bd4852b3cc2bbe8f6b438eae06.tar.zst
freebsd-ports-gnome-f8ce291d2365d4bd4852b3cc2bbe8f6b438eae06.zip
Fix build with gcc 4.2
Approved by: portmgr (pav) miwi (mentor)
Diffstat (limited to 'sysutils/cpu')
-rw-r--r--sysutils/cpu/files/patch-src-plugins-ldap-commandline.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cpu/files/patch-src-plugins-ldap-commandline.c b/sysutils/cpu/files/patch-src-plugins-ldap-commandline.c
new file mode 100644
index 000000000000..1b54ea968dbe
--- /dev/null
+++ b/sysutils/cpu/files/patch-src-plugins-ldap-commandline.c
@@ -0,0 +1,11 @@
+--- src/plugins/ldap/commandline.c.orig 2007-07-13 22:41:51.000000000 +0200
++++ src/plugins/ldap/commandline.c 2007-07-13 22:40:43.000000000 +0200
+@@ -83,7 +83,7 @@
+ if (passent == NULL)
+ return -1;
+ bzero (passent, sizeof (struct cpass));
+- (int) passent->sp_lstchg = passent->sp_min = passent->sp_max = -10;
++ passent->sp_lstchg = passent->sp_min = passent->sp_max = -10;
+ passent->sp_warn = passent->sp_inact = passent->sp_expire = -10;
+ passent->sp_flag = -10;
+ passent->pw_gid = -10;