From nobody Mon May 15 10:42:20 2023 X-Original-To: dev-commits-ports-all@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 4QKbXr5yCfz4BSTw; Mon, 15 May 2023 10:42:20 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QKbXr5SyPz40wp; Mon, 15 May 2023 10:42:20 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684147340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WjPLAuBGla+ZTg37RTf6A81on5wQRrS+Zq3mXeWkvMA=; b=esCrO4/hfZzYDL8PW4ZlZ1cDcaAV6EpHq+EGA3Gtc3tqqFw26Xsq4WzqOiQExn7iptc7q6 0qPi0tayiSAQXHdWxHU2c+vvdx+hFyrMnriyeZjvPPjCFOc9wWfOBoHABa2b556fN13tHM OLx6O1rMXLYvRSMzKoTIA9lGimUGLNP3ofVmGag5aiOJMZPQIxMGAXjYqRwRhPY9l0XRVZ yc8bicNhXHgsYendRSAS4Xnmg0t1dYmiB8MoJRk75FY1OzwHoByTCfd61UQjLDkGYjJdBr dqXBppSocHFU1LyVKKQ1PumtaejGrF+uH0E2pj8gtNpa4waqEQVy+jR3PdgB8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684147340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WjPLAuBGla+ZTg37RTf6A81on5wQRrS+Zq3mXeWkvMA=; b=yhH2KecHakalvtccxWcUFEzcs3dEVrAMstafAhSFJPd8y4223zhxYiZiQ400hMgRGYHKFg 1S5grSiLMCF/eiyQhK0JaQI++Oq+1rO6n97bRdePf2jDJxLRaE2NF1jTs1DhiRfpZREXPl SkAMaw8zGFzQD3Saxm/KlBK3XXYu35i1Rae05LPAoBAKACh36ELxT/ucj4zwdlc/nqLtW2 k1hHsRa9D7btxAvnFtBqSJ6Nxq4B7iYdKQUyMMhVvrc/OrCeYwAKcvwVOM70GNd05MpOZJ VqgLKGlU7WkBNuHVkjiYh6XzGve8bGXgVsl6xCKA9a+WX5aocycozJQlJAqFtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684147340; a=rsa-sha256; cv=none; b=pL6deuMSpkMVU2YkG/o5/5izUE9AOfi8XJc8nWmVcHGB8uXesztvIrapPQDudeBJGG8BHF 3dt80SBHMb/kJ51rTde9hpzUawoQF3Kg0L4D9s6bxzrTexorub38F3z2saL0hFAWFiVWmJ c4el5Yc97JrQpo75Bxh3NbAKvHUw0KCosn7oBD+okM0piZjNC8ESRsB6NGW0xdEPbAJmQH nqy449fGrvtex3EjKylVkPJLhQyuutbP2/HZmwSf99nFe0yhkhRemnDEutp8K4hR7eFHSe b3Oy55wn4M2pxrDOUgGMpin/ICvJ+AUL52oumMWX/w3f6SO5RsE8ieOrOLStSQ== Received: by freefall.freebsd.org (Postfix, from userid 1033) id A4BE316AFB; Mon, 15 May 2023 10:42:20 +0000 (UTC) Date: Mon, 15 May 2023 10:42:20 +0000 From: Alexey Dokuchaev To: Cy Schubert Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org Subject: Re: git: 24d6c5b19f8d - 2023Q2 - deskutils/xcalendar: Fix LLVM15 build Message-ID: References: <202305140525.34E5PWv0082197@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202305140525.34E5PWv0082197@gitrepo.freebsd.org> X-ThisMailContainsUnwantedMimeParts: N On Sun, May 14, 2023 at 05:25:32AM +0000, Cy Schubert wrote: > commit 24d6c5b19f8df4220d03f7cdd8f99071bcde7360 > > deskutils/xcalendar: Fix LLVM15 build > > At a minimum fix an incompatible pointer to integer conversion flagged > by LLVM15. While at it include stdlib.h in preparation for additional > ... > + if (sizeof(buf) == len) { > + buf = XtRealloc(buf, len + 1); > + } > -+ buf[len] = NULL; > ++ buf[len] = 0; > + Since buf is `char *', I guess '\0' would look better here. > start = buf; > > --- a/deskutils/xcalendar/files/patch-xcalendar.h > +++ b/deskutils/xcalendar/files/patch-xcalendar.h > @@ -1,5 +1,5 @@ > ---- xcalendar.h.orig Sun Oct 1 12:21:42 1995 > -+++ xcalendar.h Mon Mar 12 20:54:02 2001 > +--- xcalendar.h.orig 1995-09-30 20:21:42.000000000 -0700 > ++++ xcalendar.h 2023-04-30 21:02:14.402254000 -0700 We try not to embed nanosecond precision and timezone in patches, ``make makepatch'' generates correct patch headers for you. ./danfe