Created attachment 153633 [details] 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.
Created attachment 153759 [details] update security/pam_ocra to 1.2 I have included the proposed fix in the upstream git repo. attached patch updates the port to 1.2
A commit references this bug: Author: robak Date: Thu Mar 5 12:43:56 UTC 2015 New revision: 380487 URL: https://svnweb.freebsd.org/changeset/ports/380487 Log: security/pam_ocra: update 1.1 -> 1.2 - Include upstream accepted Clang 3.6.0 fixes by Dimitry Andric <dim@FreeBSD.org> PR: 198113 Submitted by: Stefan Grundmann <sg2342@googlemail.com> Changes: head/security/pam_ocra/Makefile head/security/pam_ocra/distinfo
Committed, thanks for your work guys!