From nobody Wed Jul 19 17:30:50 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 4R5jXC4GmMz4nsSK; Wed, 19 Jul 2023 17:30:51 +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 4R5jXB50lzz4lDp; Wed, 19 Jul 2023 17:30:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787850; 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=3Jg/Dw2sHw+3dI7yw0ww9LKm6/lMposG3QbnprYF8v8=; b=dkC91TOaHbTyGJwTPFBkQr1bSXkyZj8mI/Gk5dtzGs3iOvu7wpqQg5dLmbre/lAcUOKbUj 6sK/8xd4h1PlH7Lwu89WIctg3ssS4UCPfaSY3mByjv8FUPESNRvQJwnTqW23gNy+Miaax0 8tdzSs4hnAhTJoQZNqqOHYKK4b6FYxvVaVBOv4KaleMVldiDvXv0fz7HSecYkCsCCV07i3 Se1h3BJ+ZnWIzZzd9rUtrYqYhqNelgXCNIvJ15ZInWNjRyCZX91Wo9cOEcQzX91wkMcr10 ZKXGmWa3NUAmifEpWWvDDxrTmMC2PTzXB5YKYZQL/B4fAicjXUfGiQ74dQGCuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787850; 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=3Jg/Dw2sHw+3dI7yw0ww9LKm6/lMposG3QbnprYF8v8=; b=QCP9FvvpKR6R51J2BPKNJyW57+DOI2/CJb8qSF6aW72Irst3UCZoP1UUSeJzPsB9hUGwbc 8YXKrWZ3XvDtNKa6odJ8Lr0MvOTTwxsSqUK9pVC347yLq8d3oGjn09LLBbtHJ1Y6us+3J/ SRrtwuHk7ZmineSvF3YemtQfxAIOUCPgjuRiXXRcUkeR+GSt3U0o3ZEBCuGYc7aghYENOC bhZoK6er+Y1ZGczQpVwEBUYZTkoffNlULuGHiTX5TYH+/FrI87QS7LORAV/C8tJAQ7uJ+N iDeN0Y0naX0dKFgf/afEjP5O7lwrYIKn8swcNm5tUsYM+56Kg/lb0OIjpU3ung== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689787850; a=rsa-sha256; cv=none; b=dgafKvJKzdRg0Vm3clzWpXehlblYJsjZKfFeCYc3OW2S6xhDgEQxFXl+JfrFnjoBQRg+CS +DXiP0ASNUZu7LUi6AP0nZ9W9DExBa0n7PKHvkPQPVIejwOUTVxiCzTxQtM7uCEpuzaSpM RgWQip/w2IRMUw/AZ6QYLe4vhwT+yzfUmUiUpRI+LebVUt/+m10WjdfKvHUVlP2LWktXkc YSXqpRTu6b5R9ZORxAwe11ewnPHC7iqqqJFpP5/hsBo14e34S+i6GNrW8ld9gvdnKCV0Pr YTIvo5Zm9/K9cgmAIKeMLtvvDHVbI6U8wLucqtwRJF/ZJuWZ8Oi2RsxKBpugkQ== 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 4R5jXB46zNzx1b; Wed, 19 Jul 2023 17:30:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36JHUo9s026940; Wed, 19 Jul 2023 17:30:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36JHUoFm026939; Wed, 19 Jul 2023 17:30:50 GMT (envelope-from git) Date: Wed, 19 Jul 2023 17:30:50 GMT Message-Id: <202307191730.36JHUoFm026939@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 7eaaab99f682 - main - games/xroach: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7eaaab99f6825548d8c82a2290beb0ef8495188f Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7eaaab99f6825548d8c82a2290beb0ef8495188f commit 7eaaab99f6825548d8c82a2290beb0ef8495188f Author: Muhammad Moinur Rahman AuthorDate: 2023-07-19 17:03:55 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-19 17:30:38 +0000 games/xroach: Fix build with llvm16 - Pet portclippy - Utilize USES=localbase while I am here Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/xroach/Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/games/xroach/Makefile b/games/xroach/Makefile index 7e2db9d9ea0c..d0787a3d0f69 100644 --- a/games/xroach/Makefile +++ b/games/xroach/Makefile @@ -8,21 +8,26 @@ DISTNAME= ${PORTNAME} MAINTAINER= kidon@posteo.de COMMENT= Cockroaches hide under your windows +USES= imake localbase xorg +USE_CSTD= gnu99 +USE_XORG= x11 xext + DPADD+= ${LOCALBASE}/lib/libX11.a ${LIBM} -CFLAGS+= -I${LOCALBASE}/include -LDADD+= -L${LOCALBASE}/lib -lX11 -lm +LDADD+= -lX11 -lm +BINDIR= ${LOCALBASE}/bin MANDIR= ${LOCALBASE}/man/man - BINOWN= bin -BINDIR= ${LOCALBASE}/bin BINMODE= 755 -USES= imake xorg -USE_XORG= x11 xext -USE_CSTD= gnu99 PLIST_FILES= bin/xroach man/man6/xroach.6.gz +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: ${INSTALL_PROGRAM} -s ${WRKSRC}/xroach ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}.6