From nobody Tue Apr 18 18:10: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 4Q1BmD65GTz45SBD; Tue, 18 Apr 2023 18:10:20 +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 4Q1BmD0tq3z4M2k; Tue, 18 Apr 2023 18:10:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841420; 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=zhHSfbZEKrWGfrAX5HUpiTeJo5v6O/hw/DW57Vv395E=; b=bJ81sWsSMSm8OsUaMdWUJydohafkV/6Gt/JNow46vwHEokOGH7VxxHjo0Wa4IaWL2GyH2T gEP5TXpRpwJpsxSgQy13FG8vlG7tdsonaqpUQq5kLsf818QZrRa3j0wkBuegtJspJvSXml FwhLXax9pIgF8ckbIZp1EfjCpjsfrP7os5UaJlVxKl5CkJ/CHUT3xI4Km85YZXaXym+KHk U+kwtXHKxCWLahyduMNl3ARuHsUVewYhrOZRrUax54YocNqHQMrxEDS0TyN1NXWs/0OO5k zYUv+/aMgiyRTpbmZZaUImiUTUr7Abod8JtKtbU7nhqbJJfrGRz+K5H6N8IvHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841420; 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=zhHSfbZEKrWGfrAX5HUpiTeJo5v6O/hw/DW57Vv395E=; b=CKjNcDxkwy5CWV+6VpsaC6AEVk8E0bsdGpVnS4Cc3Pq7QyeqRFWvUKSlNWQU8lbtAcrZJB vmn6/Sh5dPf6nZSi0+Wk8TprqWsCJ5qRtJkOvuKgjOezsfo/Tjkcb9II/s3yA/ogAj0TOB 41ld4WhbBhUOEtdQPnb0XXFYUiNWnuUFcFBVnkpmkgC13DpWFC0pCtD40EUGZ2BSGzD1Sn NYvrGzin5B8zLGylU4qxnz0Zxlz+j075YHLoaO8jZBwq50vJ/UGoxfsfLty8vEzriciHmK sOGmSukWpGbheJxyh2nUJA6dENi5h1OMf499cGjzvWGG4Gao0BhNl82blxuy2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681841420; a=rsa-sha256; cv=none; b=DSl9NA+RCtncB8L22hqsPddcvE7c5FRZRPm4lcHby54J148ihbxJiYbBv6JiRA2wVBZE6O /1NN4JLJLksmurPKh5plxUsMkhd1Cku92JRV97RwMvnoibZBeMT2/iY2jFu6pEMDapxHmD QkASIrme2INl6pxUA9XhZ8F2jZ+EbsXy1X5AFP0wz1cS57u+bCkPClATxt0rJ4cgylxkk0 hILH0T9vCU45LhwhC/ZVpNoaR6Iav393l2mF7GxpPO+vbSQZ+JLpsZq33Oav1uke43cE0i mXbt/JWlGrNR/eGlkMZO7B5qX5VArppMCSJy9BylOyQkIF+LSuyi+8JT4lXNSg== 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 4Q1BmC70DYzMLv; Tue, 18 Apr 2023 18:10: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 33IIAJ4h089213; Tue, 18 Apr 2023 18:10:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33IIAJhq089212; Tue, 18 Apr 2023 18:10:19 GMT (envelope-from git) Date: Tue, 18 Apr 2023 18:10:19 GMT Message-Id: <202304181810.33IIAJhq089212@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: c7c764e3751d - main - biology/py-libnuml: Allow build with swig 4.1.0+ 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: c7c764e3751de049f1de44faa4b4744db1a24694 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7c764e3751de049f1de44faa4b4744db1a24694 commit c7c764e3751de049f1de44faa4b4744db1a24694 Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 17:59:21 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 18:05:12 +0000 biology/py-libnuml: Allow build with swig 4.1.0+ PR: 270720 Obtained from: https://github.com/NuML/NuML/commit/b8766a6bcc3083a5d4f5aa0d166d66d8c80f1345 --- biology/py-libnuml/files/patch-CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/biology/py-libnuml/files/patch-CMakeLists.txt b/biology/py-libnuml/files/patch-CMakeLists.txt index e5cecbcf8ec9..7cd3ba0fcbb4 100644 --- a/biology/py-libnuml/files/patch-CMakeLists.txt +++ b/biology/py-libnuml/files/patch-CMakeLists.txt @@ -1,5 +1,14 @@ ---- CMakeLists.txt.orig 2022-04-06 09:17:15 UTC +--- CMakeLists.txt.orig 2022-04-19 08:09:02 UTC +++ CMakeLists.txt +@@ -53,7 +53,7 @@ if (LIBNUML_REMOVE_WRAPPERS) + endif(LIBNUML_REMOVE_WRAPPERS) + + +-set(SWIG_EXTRA_FLAGS -DSWIGEXPORT -DLIBSBML_CPP_NAMESPACE_BEGIN -DLIBSBML_CPP_NAMESPACE_END -DLIBSBML_CPP_NAMESPACE_QUALIFIER -DLIBSBML_CPP_NAMESPACE_USE) ++set(SWIG_EXTRA_FLAGS -DSWIGEXPORT -DLIBSBML_CPP_NAMESPACE_BEGIN= -DLIBSBML_CPP_NAMESPACE_END= -DLIBSBML_CPP_NAMESPACE_QUALIFIER= -DLIBSBML_CPP_NAMESPACE_USE=) + if(NOT UNIX) + set(SWIG_EXTRA_FLAGS ${SWIG_EXTRA_FLAGS} -DSWIGWIN -DSWIG_CSHARP_NO_WSTRING_HELPER ) + endif() @@ -62,6 +62,7 @@ ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libnuml_wrap.cpp COMMAND "${SWIG_EXECUTABLE}"