aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cpu
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2007-07-13 21:18:22 +0000
committerLars Engels <lme@FreeBSD.org>2007-07-13 21:18:22 +0000
commit3f2aa434fc0d6fe8fcbb3e8fc1af643ebe7d97fd (patch)
tree20113fee06638bdfda1a20b54ff285d452af759c /sysutils/cpu
parentda249989b50d38c119dbbd453d6e052ef3073954 (diff)
downloadports-3f2aa434fc0d6fe8fcbb3e8fc1af643ebe7d97fd.tar.gz
ports-3f2aa434fc0d6fe8fcbb3e8fc1af643ebe7d97fd.zip
Fix build with gcc 4.2
Approved by: portmgr (pav) miwi (mentor)
Notes
Notes: svn path=/head/; revision=195534
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;