git: 5998b57d7ff6 - main - emulators/yuzu: mark BROKEN on FreeBSD < 13 after 58fc503a0c85
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Apr 2022 12:07:48 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=5998b57d7ff661a610659cb2f5ee21000b929486 commit 5998b57d7ff661a610659cb2f5ee21000b929486 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-04-24 12:05:27 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-04-24 12:07:03 +0000 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 --- emulators/yuzu/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index c7432d0ce871..e7a204a6a0dc 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -28,6 +28,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/externals/sirit/externals/SPIRV-Headers/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= requires int128 and dynarmic backend BROKEN_aarch64= https://github.com/yuzu-emu/yuzu/issues/5290 +BROKEN_FreeBSD_12= htonl() in <x86/endian.h> fails -Werror=conversion BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ nlohmann-json>0:devel/nlohmann-json \