From nobody Thu Dec 28 23:03:46 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 4T1PFb37X4z54qyj; Thu, 28 Dec 2023 23:03:47 +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 4T1PFb1015z3KWk; Thu, 28 Dec 2023 23:03:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703804627; 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=EksOfzLTPn5Lwddocdvh+KgD7sDmRteRb1+lzLDyl+Q=; b=KShao8wYQ8cWHjO459df+fsBiwhIMHD0ERJFNSmhKETdILfQ9y3hwiuPpv+MPRbLYQM9rP mPAE7ukp/xhU1aU5l05hz6Cwhz80ti4D+911jtKcouuxbSBGqEvj8IdwnqIrW41Buf4uDw bDFV77g8M6Ne1ZDml+kY6B9GSM7DUd/YboTuKooYIlgab3oB6RVJ22CUAqL8hNuUc3YHOP Wtir2Cm6/X4+q++cxJ2i2QHt1HhkQILjEFXPSTbndZMbdmItlMK7up9s4yaGgw/c7nesvs 0rwxfVK2Mci5CrqdpxDXlb9SVcQIeBzIvE/0tq10bbYXy7S7Vct7BcEeFGEZ5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703804627; a=rsa-sha256; cv=none; b=P5teu72bZtaY0Et3HyneCzA5gpmZSmPlLvBDBlZ171SDto0g7YJaG1dzFDZGvtvHcGUS6e T2cZaQInsZUYx2kfnKgCaaWBVsB35jvGvCO+u+kL3PdexXDuYQE7f13KBzn20OfDJWrcxc 29cgLql1HQT4gPyHHU8VeGxVissHABu5w7+9LxAQICtdzw8hMDOVDOGOM9mJuRHFfoj4Eo hOCDQoThsPzzhctHJGJPJV/LmJvwNCofzK/SqccCDpzKthWFkw37tQtLeJHaC+eSmQ9+0y 8AWwWLvsKkVAEuRApDHkZyKaOdEgNVSZ+ufp379tPPkv+QZq1av4j+UDfH9PWQ== 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=1703804627; 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=EksOfzLTPn5Lwddocdvh+KgD7sDmRteRb1+lzLDyl+Q=; b=v21uRqyaQDmKGKDFbFfPtUXc114T01QFGFmSVXa5qZvK0UYemfRWeMSdy9bZvDF+tgc7Wi A8Z6NRgbgAo8rdxgnhObCyjvwSZzRS7+U/3twnsyg1zdsvnYpE/ZbwNeV8QtBxmKOOljlz fgc/JMVSy2pdihawTgc5mt4k3L86E76C/ukbEquCU8szMTKMg/JfeHmzpzLhz9wSlbHwT4 FRokqp6h1wA87Nu2WtLLW70Hwse8mn88zRK01Ekoq8XRORT7anz8EynM+W7juZub4ebip5 Butf8webQGLx5C8WpUTGiYuLnwNa+DwqNR+LplyI0T53GBC7TLhJi7tXD51J0w== 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 4T1PFZ6dPmzj0r; Thu, 28 Dec 2023 23:03:46 +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 3BSN3kbR059604; Thu, 28 Dec 2023 23:03:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BSN3kd5059601; Thu, 28 Dec 2023 23:03:46 GMT (envelope-from git) Date: Thu, 28 Dec 2023 23:03:46 GMT Message-Id: <202312282303.3BSN3kd5059601@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 83a109cf8d9c - main - games/minetest: Fix build with CMake >= 3.28.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: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83a109cf8d9c6ed937f55a3ce04da4b79b21058b Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=83a109cf8d9c6ed937f55a3ce04da4b79b21058b commit 83a109cf8d9c6ed937f55a3ce04da4b79b21058b Author: Jason E. Hale AuthorDate: 2023-12-28 20:19:54 +0000 Commit: Jason E. Hale CommitDate: 2023-12-28 23:03:32 +0000 games/minetest: Fix build with CMake >= 3.28.0 PR: 275730 Approved by: portmgr (blanket) --- games/minetest/files/patch-src_CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/games/minetest/files/patch-src_CMakeLists.txt b/games/minetest/files/patch-src_CMakeLists.txt new file mode 100644 index 000000000000..c9391d6c1612 --- /dev/null +++ b/games/minetest/files/patch-src_CMakeLists.txt @@ -0,0 +1,17 @@ +Fix build with CMake >= 3.28.0. FREETYPE_LIBRARY has not officially been +part of the user-facing interface of the FindFreetype module since CMake +2.6.0 [1] and has only been coincidentally defined up until this point. + +[1] https://gitlab.kitware.com/cmake/cmake/-/commit/d18fb61c76c720ec5b1ac2cc4f30a5beaf071c33 + +--- src/CMakeLists.txt.orig 2023-04-08 16:04:52 UTC ++++ src/CMakeLists.txt +@@ -542,7 +542,7 @@ if(BUILD_CLIENT) + ${GMP_LIBRARY} + ${JSON_LIBRARY} + ${LUA_BIT_LIBRARY} +- ${FREETYPE_LIBRARY} ++ ${FREETYPE_LIBRARIES} + ${PLATFORM_LIBS} + ) + if(NOT USE_LUAJIT)