From nobody Mon Sep 11 03:23:25 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 4RkX9T5p7dz4tKJ9; Mon, 11 Sep 2023 03:23:25 +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 4RkX9T5Jxgz4Jfd; Mon, 11 Sep 2023 03:23:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694402605; 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=Wkv6iI8iY0RPFFh8veArD7KCE5Q0Y81s8EWsk7gsGi0=; b=r1ccky4P/BE0Pje7tyYCgLEbA808zMGEvRPYTAsz8IlM2Zqt/eX9hAiek5osbZ/m2/EPl/ LIg1BwwGfYw1Mwz7zRca2gMNWfinghOlmXnm075NRuL45ssF1NZ/cRu6A3oPerCX3/jWxG PjCUzr2izLvG93FXXaXHDDCb/D9H5PiNh92R0BXWFIaOzOj5VVRCZmNm+osPt7cvQd/mvt Uc92W1wzbU8NxMzUBWE/Vrgn2mVcYuJbnmNiHYJ9Jd2eGFGXn45t5lczLgEkcRo7XUoC9n uqneo7ejNJpz2kevr4y7XiniacCxXVe+TvouurJYUTMcOk07p1aGVIZRU0V0lw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694402605; a=rsa-sha256; cv=none; b=VYGATnm+iPJSWBJ7ijTBX5eXwiOFmQTOVb7tmi4N8mQyq9V80m3IDMiMH5LJxBhJDz3vGD JjdbAvYpeP5V5EkQ/QtmToiTMiR/1gpHA7kzS67WI0KqjzlBCNA6EjWrR011zDSapKDxYo sVK4RY3tBEB3iVosAMvYN/iJdR6zmO9Bp1QQ60QAt4ro+3davvCgNx+BgiO2JybPX7bGxo Ezofm/f458bUGuYP9+bwaOgnqDQmTqb2gzJzxexuU5VgKJjVefa2fRUJfSpHbGubOL8IvJ l9dIVKkKsJrvAvS/HV8VZoiDzCFhpO1dOXoZ5J8NTQaIHaqvKm08wq693nWxSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694402605; 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=Wkv6iI8iY0RPFFh8veArD7KCE5Q0Y81s8EWsk7gsGi0=; b=V+Flj3ISnEfMOOePBiYtAzo/vQ47sIHryNJxSIg9CuK+IdZ65R3cm9bN2/u7SwMnZE24yj pBwBhWmEDC0wrm48Y6wM9SlrYev6yOxZ5TsmOKv3kRWQmil86kKnT+wzFdobIMucUKCJmk knp+tjTZMdH992kVM/RNy4ageSPJqh5FIpwjiHBcIhy7KAjsEeubqMShbsYwD0zkIp8aH9 6IkOFmH46FsWcEQKPk2U9fnMLRi2YP4AZzZWfGsFyjksKctxMBAEOTgW8wYfOKN8Sk0bS5 n4p/A88GdyB5Q0NFmvoz5LzS89361UVoZ8FCI38N5Ay0L1nUZBtBgTasRTqgSw== 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 4RkX9T4NmGzYxm; Mon, 11 Sep 2023 03:23:25 +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 38B3NPjm043399; Mon, 11 Sep 2023 03:23:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38B3NPl6043396; Mon, 11 Sep 2023 03:23:25 GMT (envelope-from git) Date: Mon, 11 Sep 2023 03:23:25 GMT Message-Id: <202309110323.38B3NPl6043396@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5740e7fe4ce2 - main - devel/py-google-re2: Fix build with abseil 20230125.0+ and re2 20230601+ 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5740e7fe4ce2c118c836aa09f65a37ffaaa41baa Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5740e7fe4ce2c118c836aa09f65a37ffaaa41baa commit 5740e7fe4ce2c118c836aa09f65a37ffaaa41baa Author: Po-Chuan Hsieh AuthorDate: 2023-09-11 03:18:28 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-11 03:22:47 +0000 devel/py-google-re2: Fix build with abseil 20230125.0+ and re2 20230601+ --- devel/py-google-re2/Makefile | 2 +- devel/py-google-re2/files/patch-setup.py | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/devel/py-google-re2/Makefile b/devel/py-google-re2/Makefile index 38938a685a49..8cb0a36fae5d 100644 --- a/devel/py-google-re2/Makefile +++ b/devel/py-google-re2/Makefile @@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} LIB_DEPENDS= libre2.so:devel/re2 -USES= compiler:c11 localbase python +USES= compiler:c++17-lang localbase python USE_PYTHON= autoplist concurrent distutils post-install: diff --git a/devel/py-google-re2/files/patch-setup.py b/devel/py-google-re2/files/patch-setup.py new file mode 100644 index 000000000000..e27baf975d57 --- /dev/null +++ b/devel/py-google-re2/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-07-31 16:01:19 UTC ++++ setup.py +@@ -79,7 +79,7 @@ ext_module = setuptools.Extension( + sources=['_re2.cc'], + include_dirs=list(include_dirs()), + libraries=['re2'], +- extra_compile_args=['-fvisibility=hidden'], ++ extra_compile_args=['--std=c++17', '-fvisibility=hidden'], + ) + + setuptools.setup(