HomeFreeBSD

emulators/yuzu: mark BROKEN on FreeBSD < 13 after 58fc503a0c85

Description

emulators/yuzu: mark BROKEN on FreeBSD < 13 after 58fc503a0c85

src/core/hle/service/sockets/sfdnsres.cpp: In function 'std::vector<unsigned char> Service::Sockets::SerializeAddrInfo(const addrinfo*, s32, std::string_view)':
src/core/hle/service/sockets/sfdnsres.cpp:109:25: error: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

109 |         header.family = htonl(current->ai_family);
    |                         ^~~~~

src/core/hle/service/sockets/sfdnsres.cpp:110:24: error: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

110 |         header.flags = htonl(current->ai_flags);
    |                        ^~~~~

src/core/hle/service/sockets/sfdnsres.cpp:111:30: error: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

111 |         header.socket_type = htonl(current->ai_socktype);
    |                              ^~~~~

src/core/hle/service/sockets/sfdnsres.cpp:112:27: error: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

112 |         header.protocol = htonl(current->ai_protocol);
    |                           ^~~~~

src/core/hle/service/sockets/sfdnsres.cpp:113:52: error: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

113 |         header.address_length = current->ai_addr ? htonl((u32)current->ai_addrlen) : 0;
    |                                                    ^~~~~

src/core/hle/service/sockets/sfdnsres.cpp:134:44: error: conversion from 'in_addr_t' {aka 'unsigned int'} to '__uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

134 |                 serialized_addr.sin_addr = htonl(addr.sin_addr.s_addr);
    |                                            ^~~~~

src/core/hle/service/sockets/sfdnsres.cpp:155:49: error: conversion from 'uint32_t' {aka 'unsigned int'} to '__uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

155 |                 serialized_addr.sin6_flowinfo = htonl(addr.sin6_flowinfo);
    |                                                 ^~~~~

src/core/hle/service/sockets/sfdnsres.cpp:156:49: error: conversion from 'uint32_t' {aka 'unsigned int'} to '__uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]

156 |                 serialized_addr.sin6_scope_id = htonl(addr.sin6_scope_id);
    |                                                 ^~~~~

Reported by: pkg-fallout

Details

Provenance
jbeichAuthored on Apr 24 2022, 12:05 PM
Parents
R11:d21825d73a9c: Mk/bsd.port.mk: simplify conflicts checks logic
Branches
Unknown
Tags
Unknown