From nobody Mon Feb 13 22:50:42 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 4PG01G6MFrz3qY7L; Mon, 13 Feb 2023 22:50:42 +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 4PG01G5qB9z3KXb; Mon, 13 Feb 2023 22:50:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676328642; 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=yiFsr/mCG2tl121jG0L87SkmPZx5RTz7ejRV3onoIkU=; b=oKMVWr/MeqB5R8wZnKwdBYX5wr4oGvRMrt9IOlDB41lxpwj/IjGf4slsFoJ1jvs/0/Kyjs 2//NVyBPY0D3VxNamicRI/qQqvqm/B/PmAadFV1lI/0SNdBsD9Ue0YDrq/TYqSAW90bBvA D5mrQDTeEr0wGtFC0WgSZ7bMy1nI1fKMAdyFJDytJJNr6GeuODde8XG1T7EhKPT6eS/Uex GZBIp7IQG2hlJ39/b76jBzIlfWLpDHm6MkkG/RrugHPJ6nLkfB93y71LSvzCRS0ORPPsFE VbtkgmT06Ti2a9cgGr606/SETveKB9nd7K76kSsLDSwtPyLpmwBZVoxLbqbZ5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676328642; 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=yiFsr/mCG2tl121jG0L87SkmPZx5RTz7ejRV3onoIkU=; b=BId8mdg0RhyMFhW//2OQpz/Ddzyi/u7s7ZuyBSP2iJKz/OrH9iUyfukPFK2eI8G12E+8ay QIDX8reeI0SvBCNWFci0LSEH2ICY9lwMPvNrpvJ26hExef+EPKurTZT2HvwlV9SF2TeFwi xBrxD2mCKmJ1SHZJiI5XJLbGxxXYsKT3VLVuXzuEDGzIkm8SR02UEajFVSeKSuY1bc1rI9 w0/yfJz5c5DDVLqT5Ewo0ctKjeVtnlrkbY4se+EJHWenLGJla31yv8I4zVMHWcTpXG3nD7 fWoSFsk1Rqc560lVrdd9eTzudf6OdoCpUjpNKNvSXQiG8Y1azd2+bhDaZrksyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676328642; a=rsa-sha256; cv=none; b=sgkVS0u77JdxuvBI0Xo4I05h69cw5BVC9kS85ZVj2tHpWpSnVC0Cv3a1EByOfOafLPBgy0 xhOvC5A0d8udgJAMORVHz65CbssvcYywfYN+4G3oGu+1O90FXX6ggpTbi/aElDW4yQdRlR yFaAU5umO8AIa1S7RrIzqjVlCmE8EmUir05oOap7JWmxOT9OSaTXi1C8X+GWNg3UahWek3 28RkXOXXfNo4lAeZENWxMF9d0lWUmCw3YRJBoECsXQz2Ixl0pJ6dpt4NZ/cZOw+brjbcCp sRrCAXeJ+lNHjKoDeICkfd/l3PFm8D+YsiZSQ+fEgTc3BI+ndVZ3u09qSdyxYQ== 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 4PG01G4tYXzbqT; Mon, 13 Feb 2023 22:50:42 +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 31DMogRV009000; Mon, 13 Feb 2023 22:50:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31DMog8Z008999; Mon, 13 Feb 2023 22:50:42 GMT (envelope-from git) Date: Mon, 13 Feb 2023 22:50:42 GMT Message-Id: <202302132250.31DMog8Z008999@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joerg Wunsch Subject: git: bdcf7e293085 - main - deskutils/xpostit: fix integer/pointer compile error 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: joerg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bdcf7e293085355b046b5a334251a080c32edca3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by joerg: URL: https://cgit.FreeBSD.org/ports/commit/?id=bdcf7e293085355b046b5a334251a080c32edca3 commit bdcf7e293085355b046b5a334251a080c32edca3 Author: Joerg Wunsch AuthorDate: 2023-02-13 22:49:08 +0000 Commit: Joerg Wunsch CommitDate: 2023-02-13 22:50:38 +0000 deskutils/xpostit: fix integer/pointer compile error Recent compiler versions complain about the implicit conversion of an int to a (generic) pointer, apply appropriate cast. (This is 30-year old code.) --- deskutils/xpostit/Makefile | 2 +- deskutils/xpostit/files/patch-menu.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/deskutils/xpostit/Makefile b/deskutils/xpostit/Makefile index 9fea37a29ff9..6ec547371066 100644 --- a/deskutils/xpostit/Makefile +++ b/deskutils/xpostit/Makefile @@ -1,6 +1,6 @@ PORTNAME= xpostit PORTVERSION= 3.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} # DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} diff --git a/deskutils/xpostit/files/patch-menu.c b/deskutils/xpostit/files/patch-menu.c new file mode 100644 index 000000000000..5ee09fc8d7d8 --- /dev/null +++ b/deskutils/xpostit/files/patch-menu.c @@ -0,0 +1,11 @@ +--- menu.c~ 1992-12-11 14:04:14.000000000 +0100 ++++ menu.c 2023-02-13 23:44:16.137102000 +0100 +@@ -120,7 +120,7 @@ + smeBSBObjectClass, menuwidget, + NULL, 0); + +- XtAddCallback(entry, XtNcallback, HandleMenuSelection, i); ++ XtAddCallback(entry, XtNcallback, HandleMenuSelection, (XtPointer)i); + } + + XawSimpleMenuAddGlobalActions(appcontext);