head 1.2; access; symbols pkgsrc-2025Q3:1.1.0.2 pkgsrc-2025Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2025.10.09.10.05.02; author adam; state dead; branches; next 1.1; commitid vS9ROHyI4WG8ASdG; 1.1 date 2025.09.01.20.55.06; author wiz; state Exp; branches; next ; commitid k5KEq66AvPRPo39G; desc @@ 1.2 log @qemu: updated to 10.1.1 10.1.1 Bug fixes @ text @$NetBSD: patch-scripts_kernel-doc,v 1.1 2025/09/01 20:55:06 wiz Exp $ Fix documentation creation bug. https://gitlab.com/qemu-project/qemu/-/commit/5ffd387e9e0f787744fadaad35e1bf92224b0642 --- scripts/kernel-doc.orig 2025-08-26 18:32:38.000000000 +0000 +++ scripts/kernel-doc @@@@ -1594,13 +1594,12 @@@@ sub push_parameter($$$$$) { if ($type eq "" && $param =~ /\.\.\.$/) { - if (!$param =~ /\w\.\.\.$/) { - # handles unnamed variable parameters - $param = "..."; - } - elsif ($param =~ /\w\.\.\.$/) { + if ($param =~ /\w\.\.\.$/) { # for named variable parameters of the form `x...`, remove the dots $param =~ s/\.\.\.$//; + } else { + # handles unnamed variable parameters + $param = "..."; } if (!defined $parameterdescs{$param} || $parameterdescs{$param} eq "") { $parameterdescs{$param} = "variable arguments"; @ 1.1 log @qemu: add upstream bug to fix problem with perl 5.42 in documenation generation @ text @d1 1 a1 1 $NetBSD$ @