view src/cgal-1-fixes.patch @ 6516:5ef7d51c2195

readline: Update to version 8.2-001. * src/readline.mk: Update version and checksum. * src/readline-0-001-upstream.patch: Upstream patch re-formatted to apply in MXE Octave. See: https://ftp.gnu.org/pub/gnu/readline/readline-8.2-patches/readline82-001 * src/readline-0-002-upstream.patch: Remove upstream patch for previous version. * src/readline-1-input.patch, src/readline-1-sigwinch.patch: Update patches. * src/readline-3-fd_set.patch: Add patch to guard functions that use types that aren't available on Windows. * src/gdb-1-readline-8.2.patch: Cherry-pick upstream patch. * dist-files.mk: Update files in list.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 12 Nov 2022 17:00:41 +0100
parents 5b3f762006d3
children
line wrap: on
line source

This file is part of MXE. See LICENSE.md for licensing information.

Contains ad hoc patches for cross building.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Mon, 20 Nov 2017 10:25:44 +1100
Subject: [PATCH 1/1] fix boost linking errors


diff --git a/src/CGAL/CMakeLists.txt b/src/CGAL/CMakeLists.txt
index 1111111..2222222 100644
--- a/src/CGAL/CMakeLists.txt
+++ b/src/CGAL/CMakeLists.txt
@@ -2,6 +2,14 @@ message("Configuring libCGAL")
 
 use_essential_libs()
 
+# same as src/CGAL_Core/CMakeLists.txt
+if (NOT MSVC)
+  # See the release notes of CGAL-4.10: CGAL_Core now requires
+  # Boost.Thread, with all compilers but MSVC.
+  find_package( Boost 1.48 REQUIRED thread system )
+  cache_set(CGAL_3RD_PARTY_LIBRARIES    ${CGAL_3RD_PARTY_LIBRARIES} ${Boost_LIBRARIES} )
+endif(NOT MSVC)
+
 include_directories (SYSTEM ${CGAL_3RD_PARTY_INCLUDE_DIRS})
 
 add_definitions(${CGAL_3RD_PARTY_DEFINITIONS})