summaryrefslogtreecommitdiffstats
path: root/src/cgal-1-fixes.patch
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-07-05 10:02:10 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-07-17 23:22:41 (GMT)
commitf11c4d24e31c513858f81403029907604a97f2e8 (patch)
tree5e21fad97e8997aefacde9d38dc1eec3299969c8 /src/cgal-1-fixes.patch
parent310c1f74e1ed8e75e7046405ff8496cccb240cac (diff)
downloadmxe-f11c4d24e31c513858f81403029907604a97f2e8.zip
mxe-f11c4d24e31c513858f81403029907604a97f2e8.tar.gz
mxe-f11c4d24e31c513858f81403029907604a97f2e8.tar.bz2
update package cgal
Diffstat (limited to 'src/cgal-1-fixes.patch')
-rw-r--r--src/cgal-1-fixes.patch61
1 files changed, 28 insertions, 33 deletions
diff --git a/src/cgal-1-fixes.patch b/src/cgal-1-fixes.patch
index 33dab27..44c6839 100644
--- a/src/cgal-1-fixes.patch
+++ b/src/cgal-1-fixes.patch
@@ -1,19 +1,17 @@
This file is part of MXE.
See index.html for further information.
-Contains ad hoc patches for cross building.
-
-From d9b95ae188d2631da8d193b38ae11b3227f26b58 Mon Sep 17 00:00:00 2001
-From: "mxe@mxe.cc" <mxe@mxe.cc>
+From 036e8f90ce7f2f1302a2603b89ae7661211c090d Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 21 Oct 2011 23:08:52 +0200
-Subject: [PATCH 1/4] adjustments for MXE
+Subject: [PATCH 1/4] adjustments for mingw-cross-env
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a0ef19a..bb8c02f 100644
+index af8be68..61a5ee7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -359,6 +359,8 @@ message( STATUS "System: ${CMAKE_SYSTEM_NAME}" )
+@@ -400,6 +400,8 @@ message( STATUS "System: ${CMAKE_SYSTEM_NAME}" )
#
#--------------------------------------------------------------------------------------------------
@@ -249,7 +247,7 @@ index fbdde88..5d8a0a9 100644
${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_STATIC_TAG}-${Boost_LIB_VERSION}
${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}-${Boost_LIB_VERSION}
diff --git a/include/CGAL/Constrained_Delaunay_triangulation_2.h b/include/CGAL/Constrained_Delaunay_triangulation_2.h
-index bb59f8c..9cebb51 100644
+index c89e7f7..57a5d40 100644
--- a/include/CGAL/Constrained_Delaunay_triangulation_2.h
+++ b/include/CGAL/Constrained_Delaunay_triangulation_2.h
@@ -390,7 +390,7 @@ is_flipable(Face_handle f, int i, bool perturb) const
@@ -274,8 +272,8 @@ index bb59f8c..9cebb51 100644
1.7.10.4
-From e70713f3c915d871e5f71bcdb883e410626dbfaf Mon Sep 17 00:00:00 2001
-From: "mxe@mxe.cc" <mxe@mxe.cc>
+From a455aa3d21f432831ccafcffc90bc7baf766ce6b Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 18 Nov 2011 00:08:25 +0100
Subject: [PATCH 2/4] prevent Qt's moc from choking on BOOST_JOIN
@@ -303,41 +301,38 @@ index 62d0485..852fcc9 100644
1.7.10.4
-From 6798554267e98685638dd4467541bc0dd388d136 Mon Sep 17 00:00:00 2001
-From: "mxe@mxe.cc" <mxe@mxe.cc>
-Date: Wed, 28 Mar 2012 00:25:48 +1100
-Subject: [PATCH 3/4] Cmake min version 2.8.6 is only for Windows DLLs
-
-http://www.cgal.org/Manual/latest/doc_html/installation_manual/Chapter_installation_manual.html
+From 7225ba1e69c3e4501706e73e2f1e61e3d1313bfa Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Fri, 6 Jul 2012 09:27:49 +0200
+Subject: [PATCH 3/4] update "detected" Qt version
-Section 3:
-"On Windows, CMake version 2.8.6 or higher is required, for a proper support of DLLs generation."
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index bb8c02f..1f0a4cb 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -6,7 +6,7 @@
- project(CGAL CXX)
-
- # Minimal version of CMake:
--if(WIN32)
-+if(WIN32 AND BUILD_SHARED_LIBS)
- cmake_minimum_required(VERSION 2.8.6)
- else()
- cmake_minimum_required(VERSION 2.6.2)
+diff --git a/TryRunResults.cgal.cmake b/TryRunResults.cgal.cmake
+index 299de90..f11ddc6 100644
+--- a/TryRunResults.cgal.cmake
++++ b/TryRunResults.cgal.cmake
+@@ -192,7 +192,7 @@ SET( ZLIB_RUN_RES__TRYRUN_OUTPUT
+ CACHE STRING "version=1.2.5" FORCE)
+ SET( QT4_RUN_RES
+ 0
+- CACHE STRING "version=4.8.0" FORCE)
++ CACHE STRING "version=4.8.2" FORCE)
+ SET( QT4_RUN_RES__TRYRUN_OUTPUT
+ 0
+- CACHE STRING "version=4.8.0" FORCE)
++ CACHE STRING "version=4.8.2" FORCE)
--
1.7.10.4
-From 4d6d1341564e5b3e46850e80959a1bb2e111c4ba Mon Sep 17 00:00:00 2001
+From c6a34b69b8c538456fa23d07f2914aef6395bcf7 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Wed, 18 Jul 2012 00:43:17 +0200
Subject: [PATCH 4/4] boost 1.50 compatibility
diff --git a/cmake/modules/CGAL_SetupBoost.cmake b/cmake/modules/CGAL_SetupBoost.cmake
-index fc3dc11..d72074f 100644
+index fc3dc11..d72074fd 100644
--- a/cmake/modules/CGAL_SetupBoost.cmake
+++ b/cmake/modules/CGAL_SetupBoost.cmake
@@ -3,7 +3,7 @@ if ( NOT CGAL_Boost_Setup )