[MacPorts] #71890: gpgme @1.24.1 does not build on PPC Mac OS X 10.4.11, Tiger, because of implicit declaration of function 'strcasecmp'
MacPorts
noreply at macports.org
Mon Jan 20 20:16:58 UTC 2025
#71890: gpgme @1.24.1 does not build on PPC Mac OS X 10.4.11, Tiger, because of
implicit declaration of function 'strcasecmp'
-----------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: tiger ppc | Port: gpgme
-----------------------+--------------------
{{{
Making all in src
make[2]: Entering directory
`/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_gpgme/gpgme/work/gpgme-1.24.1/src'
/opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I../conf
-I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -Os
-arch ppc -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k
-Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length
-Wno-format-truncation -Wno-sizeof-pointer-div -MT gpgme-tool.o -MD -MP
-MF .deps/gpgme-tool.Tpo -c -o gpgme-tool.o gpgme-tool.c
gpgme-tool.c: In function 'gt_protocol_from_name':
gpgme-tool.c:1325:9: error: implicit declaration of function 'strcasecmp'
[-Wimplicit-function-declaration]
1325 | if (! strcasecmp (name, gpgme_get_protocol_name
(GPGME_PROTOCOL_OpenPGP)))
| ^~~~~~~~~~
gpgme-tool.c: In function 'server_parse_fd':
gpgme-tool.c:1865:9: error: implicit declaration of function 'strncasecmp'
[-Wimplicit-function-declaration]
1865 | if (! strncasecmp (line, "file=", 5))
| ^~~~~~~~~~~
gpgme-tool.c:1865:37: warning: 'strncasecmp' argument 3 type is 'int'
where 'long unsigned int' is expected in a call to built-in function
declared without prototype [-Wbuiltin-declaration-mismatch]
1865 | if (! strncasecmp (line, "file=", 5))
| ^
<built-in>: note: built-in 'strncasecmp' declared here
make[2]: *** [gpgme-tool.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71890>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list