From nobody Thu Oct 17 19:18:24 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XTyKs0HYPz5ZNWP for ; Thu, 17 Oct 2024 19:18:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTyKr5bfXz4YYB for ; Thu, 17 Oct 2024 19:18:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729192704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fl/6BifRvnRsiDZuq2W/zEA1iFQA5lqizoFJw03MJpw=; b=QrkaHcIdukQIBON4mB3BmXGW3lZlFxzPpko3wQZ8VFnNndGnlTRp/Ql8BMoJ+dGF6eCYz1 MlNmIlMKu/K8chA6tmPri8pjvT5zXG4VPrcOceTbv8/mXWldTFwSLV/T2+fEFl0KLxJ3Zd T/JkciswrKflSOHstx7gKP62LrH5ec9fRlU7FAWEH4CdaMt55OASO55nHcl2Aa1kAFC+1g pesXNyu8X0YzkqJampKXajXLJnTpe/uagFnCeF+Q7umkFaXO8R0SJJnmdUJfeS0VVTTLHT UuO2VsK5UjFMXkZpbrmlccUA51+WEWMOWwUATY0bRNcLMaKR/QySMnVCfEBTOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729192704; a=rsa-sha256; cv=none; b=AofkpRrE8hcwDX+qcTXv8x4/m6vmounIybsHBWW0KdJYPCV28VYf/1ouXcu8JW+WaF2HHl jWIo41Y2r5O7Xn5GAypjQ8X6OdNYXudajtsk9LH1qWQ89gaFQBxc+6I1vHC1tmoxQ94wm2 lWrkJTKRSpv8jDJgZ/GY0xaRQsM+Zla6r2E4qaHdf4gtWuC2iIhGZ0V+3gloCmYwqfbAzf d7eSqQSutws/+aXdTO2zS8haDNgamEnr+NwEMTbiTUAcypTspajEL51R9ix+b51z5l3Qmb 5FJVG+PkXINUb11oB3rLbP1gAGJagPWR7uh/WTxm4ZM2ToT9VDFmT+domGV7Jg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XTyKr4zYYz12V8 for ; Thu, 17 Oct 2024 19:18:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49HJIOpr026070 for ; Thu, 17 Oct 2024 19:18:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49HJIOUU026069 for ports-bugs@FreeBSD.org; Thu, 17 Oct 2024 19:18:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282164] audio/oss: fix build with clang 19 Date: Thu, 17 Oct 2024 19:18:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: crees@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282164 Bug ID: 282164 Summary: audio/oss: fix build with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: crees@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: crees@FreeBSD.org Flags: maintainer-feedback?(crees@FreeBSD.org) Clang 19 has become more strict about erroneous redeclarations, which results in an error building audio/oss: oss_sndstat.c:114:17: error: redeclaration of 'version' with a different type: 'char[]' vs 'const char[]' 114 | extern char version[]; | ^ /usr/include/sys/systm.h:54:19: note: previous declaration is here 54 | extern const char version[]; /* system version */ | ^ Since version[] has been a const char for quite a while now, adjust the redeclaration in oss_sndstat.c. Note that it also might be deleted entirely, since the file already includes . --=20 You are receiving this mail because: You are the assignee for the bug.=