From nobody Wed Feb 15 16:55:53 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 4PH42y034Gz3qY44; Wed, 15 Feb 2023 16:55:54 +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 4PH42x6g6Jz3sdb; Wed, 15 Feb 2023 16:55:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676480153; 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=dTAfqahjbtEOl9JtUEloZhsbqqB0Vah9nFJStqeDB/c=; b=tHjVPoeHnjijHuBlRo7IBmlkiX7UllUD+WCZsSQD2PgWgrm/yyMAhQOzbSJHYCyKU87eIw OXxkIhzkSRnrSAeXzs85HBnj2M0ASu8WPxs9XhgriPlUQ83JoicvBo3xzDCisyrzrOP9EV nB2erISEIlGB2QSLAHd06ltGxTCAzx8M0CUIK1DWRa/xcVBBGy9JuLgbC8kJ93Upbu70/3 lFS7eGIHLiB4BNxt/u8t8c7gfr6924Ch66SqFE2WiSLDydZ1o/oNvZPoaONscRH2nZwXy1 EunLF5onanHo2EEjCTc4WO2imne6N95MoSYmHFwlKMe01R6R5us6LuFJ3BDbBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676480153; 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=dTAfqahjbtEOl9JtUEloZhsbqqB0Vah9nFJStqeDB/c=; b=Hx9QVNkiANR3g5MuO4ABJolCCpOuJPvzHCi4gfACNg3WeOYY0KCptHSvSavGlw659tXL2u e8Bq/KhQCkh98PqBVNUi4EjQEo33Y4y2ilmbh4HUMx0IeffNoRl4T715QWErfuydnwdqm8 aTRAePFNE0DsASZ5JmMFtB9AnCTinXTKcalvlkxxiZaeswfP71XJVH0ShWyJXGkyGtdpAL l5EIg//UCFwcCugwts3sGPiHG2lUbuU0yCcAEbOzwVWXCjnck2dj1ohyRsmKf8O+VSBCOH VJ9lppND4KmfDzdNSE3lmF9t+rcCEVBVZo0qHUXuShA3QZPIekCbmeX6GKQiPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676480153; a=rsa-sha256; cv=none; b=KzVkNGZ2iAsR91NZ2+bg0eosh9YeVjvPC8W/kIOjY5lCT5INSO8ePy6dYdrk1E0uftvAN+ PdJk0I/zZ8mgcHQvPfeJRmHC6RdfY3AAnCEt2Y04gnScjgdRAGXMCA0eh0QjwXwRLZnTzk YcAiQYGIW/h5BAahmgln8ghvX26Qx7MN9qZnRjHTMlXDxoAYewc4RvMUsC99XSrMwDWXTR 7qLvNBhuGueDAwcvla9iRuw5iysG+mDz9Jvf40Tzm4ltEGjobFEXP43pFv68ikt6rmRCJk nNVwrqrz8freKLGFLHrFR6L8cc70igSo/Synzskyg/Pov7Js4jwalR6HjTMvfQ== 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 4PH42x5hcszWkJ; Wed, 15 Feb 2023 16:55:53 +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 31FGtrcY016984; Wed, 15 Feb 2023 16:55:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31FGtrCp016983; Wed, 15 Feb 2023 16:55:53 GMT (envelope-from git) Date: Wed, 15 Feb 2023 16:55:53 GMT Message-Id: <202302151655.31FGtrCp016983@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: e66cede3bc77 - main - x11/xforward: Permanently fix LLVM15 build error 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: e66cede3bc7783eb15400af6f3da60fd8b37977e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e66cede3bc7783eb15400af6f3da60fd8b37977e commit e66cede3bc7783eb15400af6f3da60fd8b37977e Author: Cy Schubert AuthorDate: 2023-02-15 04:44:25 +0000 Commit: Cy Schubert CommitDate: 2023-02-15 16:55:01 +0000 x11/xforward: Permanently fix LLVM15 build error Permanently fix: xforward.c:528:87: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Cardinal' (aka 'unsigned int') [-Wint-conversion] topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL,NULL); ^~~~ --- x11/xforward/files/patch-Makefile | 10 ++-------- x11/xforward/files/patch-xforward.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/x11/xforward/files/patch-Makefile b/x11/xforward/files/patch-Makefile index dc9586307749..c2e78478a5ea 100644 --- a/x11/xforward/files/patch-Makefile +++ b/x11/xforward/files/patch-Makefile @@ -1,5 +1,5 @@ --- Makefile.orig 1993-06-04 19:32:01.000000000 -0700 -+++ Makefile 2023-02-11 06:30:12.418352000 -0800 ++++ Makefile 2023-02-14 20:39:04.842100000 -0800 @@ -18,18 +18,19 @@ # MANDIR is where the manual page will be installed. @@ -25,13 +25,7 @@ CFLAGS= ${INCFLAGS} -O # For CenterLine CodeCenter -@@ -46,11 +47,12 @@ - cc ${LDFLAGS} xforward.o -o xforward ${LIBS} - - xforward.o: xforward.c -- cc -c ${CFLAGS} xforward.c -+ cc -c -Wno-int-conversion ${CFLAGS} xforward.c - +@@ -51,6 +52,7 @@ install: ${PROGS} install -c xforward ${DESTDIR}${BINDIR}/xforward install -c xforward.1 ${DESTDIR}${MANDIR}/xforward.1 diff --git a/x11/xforward/files/patch-xforward.c b/x11/xforward/files/patch-xforward.c index c6f5b916b379..db2694922755 100644 --- a/x11/xforward/files/patch-xforward.c +++ b/x11/xforward/files/patch-xforward.c @@ -1,5 +1,5 @@ --- xforward.c.orig 1993-06-04 19:30:16.000000000 -0700 -+++ xforward.c 2012-04-27 13:20:20.603550383 -0700 ++++ xforward.c 2023-02-14 20:42:29.724713000 -0800 @@ -292,7 +292,7 @@ struct timeval timeout; struct pend_conn *cur,*prev; @@ -9,3 +9,12 @@ int exitstat,wopts,newoutgoing; /* for each entry, call waitpid */ +@@ -525,7 +525,7 @@ + app_con = XtCreateApplicationContext(); + dpy = XtOpenDisplay(app_con,disp_str,NULL,"Xforward", + NULL,0,&argc,argv); +- topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL,NULL); ++ topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL, (Cardinal)NULL); + sprintf(dialog_message,"Allow X connection from %s ?", + okhost_names[i]); + msg_str = XmStringCreateSimple(dialog_message);