Date: Sun, 01 Mar 2015 00:05:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198113] Fix security/pam_ocra build with clang 3.6.0 Message-ID: <bug-198113-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198113 Bug ID: 198113 Summary: Fix security/pam_ocra build with clang 3.6.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: sg2342@googlemail.com CC: sg2342@googlemail.com Flags: maintainer-feedback?(sg2342@googlemail.com) Created attachment 153633 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153633&action=edit Constify two local variables to avoid -Wcast-qual warnings During the exp-run in bug 197395, it was found that security/pam_ocra gives errors with clang 3.6.0: http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-27_12h37m16s/logs/errors/pam_ocra-1.1.log These errors are -Werror warnings about dropping const qualifiers. This is easy to fix, as in the attached patch, which adds two const qualifiers to local variables. No functional change. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198113-13>