From nobody Sat Jun 10 17:14:19 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 4Qdl176RWzz4c3N7; Sat, 10 Jun 2023 17:14:19 +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 4Qdl175mkKz3tCk; Sat, 10 Jun 2023 17:14:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686417259; 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=8EjipP87WVzjmsuFfXH/xdxxBMX6YR9z+ZVEchUcuck=; b=lYtevBl7YDkabb/HhZSQBleTDhpvl27E+qG/YizVGzKEuyG3bVNcAyUnfl66ZjeuXIVynG ZlfP/5/Sc5BDmfL7qS0r1h4MvaUDIzu9tM0J8zbN7+yH3PTStwPKBvoWocTdr7wVB+KpbP vXHZ7znVmeirjuIXz/39hGS1inoW9SMjIRpUXkkrPNTwmWNlxESVgbBoWRNuDmTwsLjV08 TFLrMTOMmlxl2B/Igk2WR3rsulOnWE8e3hAL0IABM7+ZDmZg9edmIxQ91S7e7ZZ6u0FpXn UKC7lO2AAqPLuThFeju5FBiBAJ0DwcBuv5mXRgm5zQ6HON1nvXmyvkT3IhsrIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686417259; 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=8EjipP87WVzjmsuFfXH/xdxxBMX6YR9z+ZVEchUcuck=; b=FzIkeHSg3/qWQzqK/+8gdimnO6pnjybIV6YOSYqj66lx2p29/+9Lloh7W4U/LVvW35oN9S TOA4hEjwVF26yP3JYB13cbu5vG9GS3ZWL4Xa9SQnBHkkHKNXi0w1txXFe7GebeVcvx0518 CpWDokAWmv3m79Qbgs7Bt/Ws15B/TfOLvGGSo4hLfkxmYbunO8AAx2E096sXWUxmQA97bF crdL19j5T9mjITR9HdoeBYwMwzAQJcaHI+bU1LCza8lAM1Khta4nHn4Q0HkpBwSRUaDoAv 1KvVMA9O2tM9+ZKAG6MZD8nDSi51y6sVnFZEdH8FYYsJIWKedt17pIlzFtVIVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686417259; a=rsa-sha256; cv=none; b=yDxxKYuEwmbet+VaOkauN41xM4GkDJAM/gAClOV4WILnXNiLfYHMsitEEVtNm6UIsY5Vvh wBhYKIFg7jfUzmi5cnmUuuzbbfAjtuZFxD0n+s8TC2wUqwwFpieQe0GJlwo437fYjW5nGy wc262LgXy7axKxNQQ589FT5Be1t9AcDmdQvYqPapXusQ18/Mphd9X9k70KUKHxn5RXpSCc 7GF11DiwMzbUbaF5olVGcR4rQXU//NwEk2c4r587Xxdno+MwUpd3TA48kAD9Fppqsc7uL6 zcg/hshC7xerHxCfZM3LzokQVBA53IaZ0a+9Ig/prlDzfBd6DbyTcXWoLQq2QA== 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 4Qdl174nFZzQRj; Sat, 10 Jun 2023 17:14:19 +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 35AHEJKO082657; Sat, 10 Jun 2023 17:14:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35AHEJan082656; Sat, 10 Jun 2023 17:14:19 GMT (envelope-from git) Date: Sat, 10 Jun 2023 17:14:19 GMT Message-Id: <202306101714.35AHEJan082656@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: 25302f4e0b2d - main - comms/rubygem-serialport: Fix build with llvm15 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: 25302f4e0b2d04a8c2a58ece681ba7e75935358b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=25302f4e0b2d04a8c2a58ece681ba7e75935358b commit 25302f4e0b2d04a8c2a58ece681ba7e75935358b Author: Muhammad Moinur Rahman AuthorDate: 2023-06-10 13:43:59 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-10 17:14:07 +0000 comms/rubygem-serialport: Fix build with llvm15 Approved by: portmgr (blanket) --- comms/rubygem-serialport/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/comms/rubygem-serialport/Makefile b/comms/rubygem-serialport/Makefile index d0a9e5a8591b..6ccbf07d725d 100644 --- a/comms/rubygem-serialport/Makefile +++ b/comms/rubygem-serialport/Makefile @@ -12,4 +12,12 @@ LICENSE= GPLv2 USES= gem shebangfix SHEBANG_FILES= test/set_readtimeout.rb +.include + +post-patch: +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) + @${REINPLACE_CMD} -e 's|-DOS_\#{os.upcase}|-DOS_\#{os.upcase} -Wno-error=int-conversion|g' \ + ${WRKSRC}/ext/native/extconf.rb +.endif + .include