From nobody Mon May 01 04:09:58 2023 X-Original-To: dev-commits-ports-main@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 4Q8qVZ226nz47kW8; Mon, 1 May 2023 04:09:58 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q8qVZ1b6Yz3hLR; Mon, 1 May 2023 04:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682914198; 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=hcgcwnrBYcBuH1m9tKPP1P0O1tnzuLzVqG6qeFqEUII=; b=KHkvP6B8/IlUWsZAISCVSRk7mYAKMjIiJruhQ44lEHk/tbpFC9K4j7UnrosDND4o8uf4ZY mcglJS8mwnDu/0zcxLZ8Ju/dDbn7U1MuU4d/sakbrfD2QFIeldR1vxBmw4zAUaBLGEuwpD 8/5IG4bH6yfKpy7Rv30xdwBkUyEW5GWkErXZ14XMpCeMvfe6qgw1IRNcS0+5+AuxAae/L0 1ixavATjC8s9RBSr0s7YwMV4gT/gGbMjdXPmNwKFuuEz3GfxzZ8hz7SY86a4Cu70mamqhx fOgEzAVzzngx83EFbdeMGCQCWylKZNR3ZKzrt2fCtmklTEa3C/zDjjJ3NRnzDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682914198; 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=hcgcwnrBYcBuH1m9tKPP1P0O1tnzuLzVqG6qeFqEUII=; b=HEeknhk5amI54n6KYi0bt3xhNoawihiNaxD5XAFGVkm+MZvf4fp4muZjKyFOTa7z6oJ08y RfMLSS7YpvVBYP94DatylPhRhK0/M2fZf3rO8OxkHcl7rswbQb+3sbKnJa5ss28COZuAvQ XC6AEuXaVGnEQrWFPYRbYCREeQ2ffZYnQHegibn136pcLbQDXGKhNwHH3ojcQTddmM+G7R BWn8XHWq/KLUt3PyzXmflPavbQ89hY6I3T1G15GxxpVIbV9aSwlHRZEwjV83iCQrH+ZhLE UjqG2OCSckvCfG4chKoRq9zbzBlDXo+f2/389hlKX//8sZLJa6n9KsJi+hUlkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682914198; a=rsa-sha256; cv=none; b=YVQheAgoUxOt68o6UkXiLrB6YcDRZ6imAXXIAMT28QWQFlIscH2M48FiyoH8qRDZLQIJ9I P4hWhNvYySdExrb5uRTeUvFNHQlGgYGGpbNscI5wXyyy4uNpUbbOuIbZBnubA7Gx7lwDGm iHN6gnDIt4gMhmsGQnK4Q6YtSwQDqWWfWbq1jG5SzfGIyBKQAY93p7N+mQDpAGtfavSXNX w/jbFFHQFjmwkOXEuejczmwmB3CEklGEDJspSItlCFc6oFXzs5Y1Qm5Ae4e+VIXuS0zYdi lfWSsdTj9bI2S1AXhWLGGgJZ5vRopM80v2rz4iR90j1U74ISQ5bVkejV0f/+YQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4Q8qVZ0fZ1zqrn; Mon, 1 May 2023 04:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34149wMl067060; Mon, 1 May 2023 04:09:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34149wUw067059; Mon, 1 May 2023 04:09:58 GMT (envelope-from git) Date: Mon, 1 May 2023 04:09:58 GMT Message-Id: <202305010409.34149wUw067059@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 2a92344327b6 - main - deskutils/xcalendar: Fix LLVM15 build List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2a92344327b6550ce4978f331e5f1119c610e14d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a92344327b6550ce4978f331e5f1119c610e14d commit 2a92344327b6550ce4978f331e5f1119c610e14d Author: Cy Schubert AuthorDate: 2023-05-01 04:07:09 +0000 Commit: Cy Schubert CommitDate: 2023-05-01 04:07:09 +0000 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 work needed on this port. While at all of the above, assume care and feeding of this port. MFH: 2023Q2 --- deskutils/xcalendar/Makefile | 2 +- deskutils/xcalendar/files/patch-xcalendar.c | 6 +++--- deskutils/xcalendar/files/patch-xcalendar.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deskutils/xcalendar/Makefile b/deskutils/xcalendar/Makefile index 9fbf6755b886..1366464c344c 100644 --- a/deskutils/xcalendar/Makefile +++ b/deskutils/xcalendar/Makefile @@ -5,7 +5,7 @@ CATEGORIES= deskutils MASTER_SITES= PORTS_JP DISTNAME= ${PORTNAME}-4.0+i18n -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cy@FreeBSD.org COMMENT= Calendar with a notebook for X11 (internationalized version) WRKSRC= ${WRKDIR}/${PORTNAME} diff --git a/deskutils/xcalendar/files/patch-xcalendar.c b/deskutils/xcalendar/files/patch-xcalendar.c index a36973d4be28..f69841d25245 100644 --- a/deskutils/xcalendar/files/patch-xcalendar.c +++ b/deskutils/xcalendar/files/patch-xcalendar.c @@ -1,5 +1,5 @@ ---- xcalendar.c.dist Tue Jul 4 06:59:01 1995 -+++ xcalendar.c Mon Mar 12 20:53:10 2001 +--- xcalendar.c.orig 1995-07-03 14:59:01.000000000 -0700 ++++ xcalendar.c 2023-04-30 21:04:24.168420000 -0700 @@ -1091,10 +1091,10 @@ struct tm * gettime() @@ -34,7 +34,7 @@ + if (sizeof(buf) == len) { + buf = XtRealloc(buf, len + 1); + } -+ buf[len] = NULL; ++ buf[len] = 0; + start = buf; diff --git a/deskutils/xcalendar/files/patch-xcalendar.h b/deskutils/xcalendar/files/patch-xcalendar.h index 5aeac0376726..65c4e614757e 100644 --- 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 @@ -75,7 +75,7 @@ #include #endif