[Bug 270076] security/opensc: fails to build on 14.0-CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Mar 2023 22:41:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270076

            Bug ID: 270076
           Summary: security/opensc: fails to build on 14.0-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: dch@freebsd.org
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)
 Attachment #240711 text/plain
         mime type:

Created attachment 240711
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240711&action=edit
poudriere build log

card-openpgp.c:1164:7: error: passing arguments to a function without a
prototype is deprecated in all versions of C and is not supported in C2x
[-Werror,-Wdeprecated-non-prototype]


..
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/usr/local/etc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/local/lib\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -I/usr/include
-I/usr/local/include/PCSC -pthread -Wall -Wextra -Wno-unused-parameter -Werror
-Wstrict-aliasing=2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT
libopensc_la-card-openpgp.lo -MD -MP -MF .deps/libopensc_la-card-openpgp.Tpo -c
card-openpgp.c  -fPIC -DPIC -o .libs/libopensc_la-card-openpgp.o
card-openpgp.c:1164:7: error: passing arguments to a function without a
prototype is deprecated in all versions of C and is not supported in C2x
[-Werror,-Wdeprecated-non-prototype]
                func(blob);
                    ^
1 error generated.
gmake[4]: *** [Makefile:1728: libopensc_la-card-openpgp.lo] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.