1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/sysutils/uhidd
Jan Beich a62284a578 sysutils/uhidd: unbreak build on 11.0
Only call basename(3) when qualifying for "const" as /dev/ prefix in
/dev/ugen%d.%d is unused.

uhidd.c:234:16: error: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
                    basename(hi->dev));
                             ^~~~~~~
/usr/include/libgen.h:38:22: note: passing argument to parameter here
char    *basename(char *);
                        ^
Reported by:	antoine (exp-run), ed (ping)
PR:		209747
2016-05-29 17:29:34 +00:00
..
files sysutils/uhidd: unbreak build on 11.0 2016-05-29 17:29:34 +00:00
distinfo
Makefile sysutils/uhidd: unbreak build on 11.0 2016-05-29 17:29:34 +00:00
pkg-descr
pkg-message
pkg-plist