From nobody Sun Jul 23 16:51:06 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 4R88SV5kn9z4nyfK; Sun, 23 Jul 2023 16:51:06 +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 4R88SV2t0Rz417N; Sun, 23 Jul 2023 16:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690131066; 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=wXZOVcsIRhwCijDLUFH3bezgMPxCm7uQ4fVgt8kaMzU=; b=wffMDGqjYJo7qsP/2w5vm25njDAk27PE1Y2lDxBsm98qeGetKNc2gcRE4oXoKZwIc+FBS5 oOxCpR51LyNNfid0uealqYzw3KacOa+T6tBn5ulIEeV2K47bYoR+rpT2cP8MViSrVv5U29 0NcQO01tp1NPh9ZTEvF9EVGhi+Ai+HihQrYWyyS5nkvNXPtjiiK9uZv6KRZsrJeFn7olE1 wRe+OQdQv1L5ko7h3fAcpjGeq3yHf/cJVAi9iq8EvTmFnWixHT7Q0H8vLQdUXmW/VblME2 VpYVOSOKgNW/nhQ8XZX0WjlO4IuuRENHc7HRoE3cX3JQDErQBDcEniJo1TomWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690131066; 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=wXZOVcsIRhwCijDLUFH3bezgMPxCm7uQ4fVgt8kaMzU=; b=uwAccHEZwd/YpSC/qwUkbs17vyV6tJwE04dTr2WK6xWCqhkzIX/Pb6mSNiUgGlbb8Tcwb4 vp84j1ZJIDjs7urfYeNK3aam/CvfEyGiGbjD3FSZGLwo4diRp9qrmeOE+1ARsN73Hg48LI JjETyG/+clvG2Z5gB7gR+bscLMOQAJVeTRnPrnuXemaUh+nURl4I2A70NvtGwU2T5leR9p Jl3Ohb+HnNCHVgoGv11l54vknzbX6+/Nr9S46YvKAXmxIhv7Tzsj+f3iOpxTlAhwGxEoBH 2L37BT1O+kELQSUqzATJqGm5agguOeVkotmEbBe4WRQFWUJlOx4iMK5vJ6zT5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690131066; a=rsa-sha256; cv=none; b=FZcekZ6jENiRZ4nXIHkVTgozZwcbFmH28RWMGnnVqtp14spnITYJGYx8wN9QcqzYJvH2kB g7/PWgrpG2z2tkH8Kb1BKY/my42mZZI8sFi17WqOHcZ2roNHMBKscDjJ7WqH5cjkDUwqhK OXrrs6oVwAGc1p07bFDcgddd7bOCw0PphjScdDkvCQ6xVAFy3B4w8fByigsF9pZ/j0zY95 wMzrR332e0cmTyXScJM/vx7sR2G2BscaqVVlNrsd6ypDTmzVvBBWNKKvhNV/BuPDorZfbi h/fjZ6cJQB+e3ON3+2Nv5NB8f63CEiMgW2jUVulybdGPq5cX5E7ZqiotOFam7w== 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 4R88SV1mFrzkJT; Sun, 23 Jul 2023 16:51:06 +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 36NGp6Bk000730; Sun, 23 Jul 2023 16:51:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NGp6nh000729; Sun, 23 Jul 2023 16:51:06 GMT (envelope-from git) Date: Sun, 23 Jul 2023 16:51:06 GMT Message-Id: <202307231651.36NGp6nh000729@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: d575f386ddb3 - main - devel/libx86: 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: d575f386ddb378180ee682857ca71ac91f189043 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d575f386ddb378180ee682857ca71ac91f189043 commit d575f386ddb378180ee682857ca71ac91f189043 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 16:30:12 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 16:30:12 +0000 devel/libx86: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/libx86/Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/devel/libx86/Makefile b/devel/libx86/Makefile index e52e749f7af3..afcf96d05e8e 100644 --- a/devel/libx86/Makefile +++ b/devel/libx86/Makefile @@ -12,12 +12,21 @@ WWW= http://www.codon.org.uk/~mjg59/libx86/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT -ALL_TARGET= default -MAKE_ARGS= BACKEND=x86emu ONLY_FOR_ARCHS= amd64 i386 -PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so lib/libx86.so.1 -USE_LDCONFIG= yes + USES= gmake +USE_LDCONFIG= yes + +MAKE_ARGS= BACKEND=x86emu +ALL_TARGET= default + +PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so lib/libx86.so.1 + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif do-install: ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${STAGEDIR}${PREFIX}/include/libx86.h