From nobody Tue Apr 18 18:10:26 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 4Q1BmM0dMTz45SMK; Tue, 18 Apr 2023 18:10:27 +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 4Q1BmL68Rqz4Mj5; Tue, 18 Apr 2023 18:10:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841427; 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=QodzTA9ZPftOGK4+vTAPEJNJeI+IbU8yNF4tGvhhp/c=; b=MxOoSGhUpqWnoRLRbgYBkl+0SPn2lGqOVCw4N+de0CBDDJiRkIrdGBAew5u45yV6Y2uJql URDOsRqaUNjM3qoLBKJOF2v2JefnLKmYcgUWpIL2fIqzazvkMtxo7AhdjttJAyWahFJzPL 0s/UsCONjT0V2pDjVOpwEaMVyXfrF9oYbrum3EDvWWrZzAxo7mE4wXZemVqZ01Y8Pqsc20 UAiSIiuzhhg80ZcB8THlHQ0pB69jb9dGJX4hlD6G8+srzeYXGwP1uyoRuZb+uwWqgda9df RNI+UNGlZRgVoglnhx4jonIc03Mm2L13+H65BWolZ55Hdzyw799lAVQgfTnhDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841427; 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=QodzTA9ZPftOGK4+vTAPEJNJeI+IbU8yNF4tGvhhp/c=; b=uHtLagQcu1TwLiFTWjtpBoqnAPe6irU3P1ST633UIh6OCBLobcyyMz6+vhof4wfacCfMVF AHVorWKdrMUyGJt5YqcHVkpfZ/JueWePxGFCbgkToNBgKfXPUzRKXsAS2N9IWcGfAGT//1 bSRs5ywrZan+Qg5Ht5e9emfW/isVsqE7i2PrrCiae3hdVMjhTmXfs92lEAcL4BGbqR96bk qPyS91dgVEMJ9fL2DKMNu5kvjevnxQeAxpLZ0XQ7Sw7BxyAGpN35RzJ1YUHRg8Azf23rIL puf/6UMKDwwI2PyX6PqiAhAKgUvdxheDGyigqJVRQXb5IR5I5I6ey3J6le0Gdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681841427; a=rsa-sha256; cv=none; b=eryj4rXtpVQf3v5kmRqKrCnSa+iqQPnnbq74kts1SC7NLNG8RlDYJeUi2+xImPH4qqlOXz SEPTDn7InucE4HJHyoG0xHEJ/abAO+M8GTjvBQje2KpmXUXvXjScxx5wQlwEKTHRxquovm 4ngs+W84Lm7md7cgkJpabgk7IR1A5hDMLA8bOyPCnIaH53TViPnuQQYRx1MXj5onRegzdO iMw9kB6iyPBHbZoOS+knKgNFP8D0HN+dXZORdlTdIXjgbAaK+jR5pNiMPH+99v4IRbbkJ3 DyK+YW2wZjI7++IdTgZJbgjxrG+TblzeEaDj5JXkISiQpeW5/OQOGmY0GEvSZw== 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 4Q1BmL53sWzMYH; Tue, 18 Apr 2023 18:10:26 +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 33IIAQ1f089345; Tue, 18 Apr 2023 18:10:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33IIAQfl089344; Tue, 18 Apr 2023 18:10:26 GMT (envelope-from git) Date: Tue, 18 Apr 2023 18:10:26 GMT Message-Id: <202304181810.33IIAQfl089344@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: 329f00a6b827 - main - irc/znc: 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: 329f00a6b82705138466bdf3f4e541ffbce95165 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=329f00a6b82705138466bdf3f4e541ffbce95165 commit 329f00a6b82705138466bdf3f4e541ffbce95165 Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 17:59:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 18:05:14 +0000 irc/znc: Allow build with swig 4.1.0+ PR: 270720 Obtained from: https://github.com/znc/znc/commit/fecdd9895894b3afe903021b0843a422eb4d3308 --- irc/znc/files/patch-swig | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/irc/znc/files/patch-swig b/irc/znc/files/patch-swig new file mode 100644 index 000000000000..3a0d7f789a1b --- /dev/null +++ b/irc/znc/files/patch-swig @@ -0,0 +1,33 @@ +Obtained from: https://github.com/znc/znc/commit/fecdd9895894b3afe903021b0843a422eb4d3308 + +--- CMakeLists.txt.orig 2023-04-11 14:26:05 UTC ++++ CMakeLists.txt +@@ -173,7 +173,7 @@ if(WANT_PYTHON AND NOT EXISTS + endif() + endif() + if(search_swig) +- find_package(SWIG 3.0.0) ++ find_package(SWIG 4.0.1) + if(NOT SWIG_FOUND) + message(FATAL_ERROR + "Can't find SWIG, therefore Perl and Python aren't supported. " +--- modules/modperl/CMakeLists.txt.orig 2020-09-07 22:57:50 UTC ++++ modules/modperl/CMakeLists.txt +@@ -53,7 +53,6 @@ if(SWIG_FOUND) + "-I${PROJECT_SOURCE_DIR}/include" + "-I${CMAKE_CURRENT_SOURCE_DIR}/.." + "-I${CMAKE_CURRENT_SOURCE_DIR}/include" +- -DZNC_EXPORT_LIB_EXPORT + -outdir "${CMAKE_CURRENT_BINARY_DIR}" + -o "${CMAKE_CURRENT_BINARY_DIR}/modperl_biglib.cpp" + "${CMAKE_CURRENT_SOURCE_DIR}/modperl.i" +--- modules/modpython/CMakeLists.txt.orig 2020-09-07 22:57:50 UTC ++++ modules/modpython/CMakeLists.txt +@@ -50,7 +50,6 @@ if(SWIG_FOUND) + "-I${PROJECT_BINARY_DIR}/include" + "-I${PROJECT_SOURCE_DIR}/include" + "-I${CMAKE_CURRENT_SOURCE_DIR}/.." +- -DZNC_EXPORT_LIB_EXPORT + -outdir "${CMAKE_CURRENT_BINARY_DIR}" + -o "${CMAKE_CURRENT_BINARY_DIR}/modpython_biglib.cpp" + "${CMAKE_CURRENT_SOURCE_DIR}/modpython.i"