Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2026 19:17:54 +0000
From:      Rainer Hurling <rhurlin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: c327e9e366a7 - 2026Q1 - math/nlopt: Fix build by removing unneeded patch
Message-ID:  <698cd5e2.3eba5.467bb194@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2026Q1 has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c327e9e366a7bef5de376fdb014bab77d7fb2064

commit c327e9e366a7bef5de376fdb014bab77d7fb2064
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2026-02-11 15:57:33 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2026-02-11 19:17:22 +0000

    math/nlopt: Fix build by removing unneeded patch
    
    After [1], files/CMakeLists.txt is not necessary any more.
    Fix build by removing this file.
    
    [1] https://github.com/stevengj/nlopt/commit/a5426ead8d8478c46201c21860e789e47f15c5a3
    
    MFH:            2026Q1
    (cherry picked from commit 66661b5c15b7095b5ab6af5dd0a82b9d8a2d4744)
---
 math/nlopt/files/patch-CMakeLists.txt | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/math/nlopt/files/patch-CMakeLists.txt b/math/nlopt/files/patch-CMakeLists.txt
deleted file mode 100644
index 4cc24139004e..000000000000
--- a/math/nlopt/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig	2025-02-04 18:29:30 UTC
-+++ CMakeLists.txt
-@@ -147,7 +147,7 @@ if (NLOPT_CXX OR NLOPT_PYTHON OR NLOPT_GUILE OR NLOPT_
- if (NLOPT_CXX OR NLOPT_PYTHON OR NLOPT_GUILE OR NLOPT_OCTAVE OR NLOPT_JAVA)
-   check_cxx_symbol_exists (__cplusplus ciso646 SYSTEM_HAS_CXX)
-   if (SYSTEM_HAS_CXX)
--    set (CMAKE_CXX_STANDARD 11) # set the standard to C++11 but do not require it
-+    set (CMAKE_CXX_STANDARD 17) # set the standard to C++17 but do not require it
- 
-     if (NLOPT_CXX)
-       set (CMAKE_CXX_STANDARD_REQUIRED ON) # if we build C++ API, we do need C++11


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698cd5e2.3eba5.467bb194>