Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id C3E921A921F for ; Fri, 1 Jan 2021 12:54:15 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 0688B85107; Fri, 1 Jan 2021 12:54:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3A39B84D6D for ; Fri, 1 Jan 2021 12:54:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 4ipAtz7PjFiP for ; Fri, 1 Jan 2021 12:54:13 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id A1EC484D69 for ; Fri, 1 Jan 2021 12:54:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 99C4BFA9D; Fri, 1 Jan 2021 12:54:13 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1609505653118420" MIME-Version: 1.0 Date: Fri, 1 Jan 2021 12:54:13 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/www/firefox78 To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20210101125413.99C4BFA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1609505653118420 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ryoon Date: Fri Jan 1 12:54:13 UTC 2021 Modified Files: pkgsrc/www/firefox78: distinfo Added Files: pkgsrc/www/firefox78/patches: patch-dom_webgpu_ipc_WebGPUParent.cpp Log Message: firefox78: Fix build with devel/cbindgen-0.16.0 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/firefox78/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/www/firefox78/patches/patch-dom_webgpu_ipc_WebGPUParent.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1609505653118420 Content-Disposition: inline Content-Length: 2908 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/firefox78/distinfo diff -u pkgsrc/www/firefox78/distinfo:1.7 pkgsrc/www/firefox78/distinfo:1.8 --- pkgsrc/www/firefox78/distinfo:1.7 Thu Dec 17 13:24:30 2020 +++ pkgsrc/www/firefox78/distinfo Fri Jan 1 12:54:13 2021 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2020/12/17 13:24:30 nia Exp $ +$NetBSD: distinfo,v 1.8 2021/01/01 12:54:13 ryoon Exp $ SHA1 (firefox-78.6.0esr.source.tar.xz) = 4dc4e41ae749e1d189ac8f45d0b804a18b8d38c3 RMD160 (firefox-78.6.0esr.source.tar.xz) = 55970d3df407955f191b47ecae83d6597adbbc5b @@ -12,6 +12,7 @@ SHA1 (patch-config_makefiles_rust.mk) = SHA1 (patch-configure.in) = b40651b008dcecc49664660ac376df2bd7c2c6be SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 SHA1 (patch-dom_media_CubebUtils.cpp) = 226821d961039ae5c9c50d8615757b73c6bcd80a +SHA1 (patch-dom_webgpu_ipc_WebGPUParent.cpp) = 236743c74610812bb7bdd577112092401dc1e587 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = 2f73c76c48852613e0c55c1680fcc2a9eb3cf4ef SHA1 (patch-gfx_cairo_cairo_src_cairo-type1-subset.c) = 89a9d934ef76706c552c0b81e6cbc0f45b1ffd2c Added files: Index: pkgsrc/www/firefox78/patches/patch-dom_webgpu_ipc_WebGPUParent.cpp diff -u /dev/null pkgsrc/www/firefox78/patches/patch-dom_webgpu_ipc_WebGPUParent.cpp:1.1 --- /dev/null Fri Jan 1 12:54:13 2021 +++ pkgsrc/www/firefox78/patches/patch-dom_webgpu_ipc_WebGPUParent.cpp Fri Jan 1 12:54:13 2021 @@ -0,0 +1,28 @@ +$NetBSD: patch-dom_webgpu_ipc_WebGPUParent.cpp,v 1.1 2021/01/01 12:54:13 ryoon Exp $ + +* Fix build with devel/cbindgen-0.16.0. + From https://bugzilla.mozilla.org/show_bug.cgi?id=1684180 + +--- dom/webgpu/ipc/WebGPUParent.cpp.orig 2020-12-08 01:14:39.000000000 +0000 ++++ dom/webgpu/ipc/WebGPUParent.cpp +@@ -423,17 +423,15 @@ ipc::IPCResult WebGPUParent::RecvDeviceC + switch (entry.mType) { + case SerialBindGroupEntryType::Buffer: + bgb.resource.tag = ffi::WGPUBindingResource_Buffer; +- bgb.resource.buffer._0.buffer = entry.mValue; +- bgb.resource.buffer._0.offset = entry.mBufferOffset; +- bgb.resource.buffer._0.size = entry.mBufferSize; ++ bgb.resource.buffer = {entry.mValue, entry.mBufferOffset, entry.mBufferSize}; + break; + case SerialBindGroupEntryType::Texture: + bgb.resource.tag = ffi::WGPUBindingResource_TextureView; +- bgb.resource.texture_view._0 = entry.mValue; ++ bgb.resource.texture_view = {entry.mValue}; + break; + case SerialBindGroupEntryType::Sampler: + bgb.resource.tag = ffi::WGPUBindingResource_Sampler; +- bgb.resource.sampler._0 = entry.mValue; ++ bgb.resource.sampler = {entry.mValue}; + break; + default: + MOZ_CRASH("unreachable"); --_----------=_1609505653118420--