mirror of https://github.com/microsoft/vcpkg.git
[calceph] update to version 5.0.0 (#52765)
This commit is contained in:
parent
ef00caf544
commit
12b52b38ec
|
|
@ -1,13 +1,12 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a1cb297..9448623 100644
|
||||
index b8b4ffad..6770847a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -147,8 +147,10 @@ IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel")
|
||||
MESSAGE(STATUS "Add the option '-fp-model precise' for the Intel compilers")
|
||||
@@ -151,7 +151,9 @@ IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel")
|
||||
string(APPEND CMAKE_C_FLAGS " -fp-model precise ")
|
||||
ENDIF ()
|
||||
# Define for the function strtod_l
|
||||
+if(NOT ANDROID)
|
||||
# Define for the function strod_l
|
||||
string(APPEND CMAKE_C_FLAGS " -D_GNU_SOURCE=1 ")
|
||||
+endif()
|
||||
# Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
--- a/CMakeLists.txt 2025-06-03 13:56:49.000000000 +0200
|
||||
+++ b/CMakeLists.txt 2026-04-29 09:30:06.043411072 +0200
|
||||
@@ -232,15 +232,10 @@
|
||||
# detect the libraries
|
||||
#####################################################################
|
||||
# the math library is not required with microsoft compilers or MinGW
|
||||
-if (WIN32)
|
||||
- set(LIBM_LIBRARIES "")
|
||||
-else(WIN32)
|
||||
- if (MINGW)
|
||||
- set(LIBM_LIBRARIES "")
|
||||
- else(MINGW)
|
||||
- find_library(LIBM_LIBRARIES m)
|
||||
- endif(MINGW)
|
||||
-endif(WIN32)
|
||||
+check_library_exists(m exp "" HAS_MATHLIB)
|
||||
+if(HAS_MATHLIB)
|
||||
+ set(LIBM_LIBRARIES m)
|
||||
+endif()
|
||||
|
||||
#####################################################################
|
||||
# detect the functions
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://www.imcce.fr/content/medias/recherche/equipes/asd/calceph/calceph-${VERSION}.tar.gz"
|
||||
FILENAME "calceph-${VERSION}.tar.gz"
|
||||
SHA512 d3f17a302dafee243a3c7698dd5b7e67550ba070cd3217c399e2cee5f90486d2be394ddcfe6dcc1b72f980e212d19bda50c4057fca05b032f6558794f191935a
|
||||
SHA512 70a7d3d77bad40278ceafc37cef9639b3a81870d768a373f80654b973a590551eb9587e80ff7da999ef36c4b753ff23acb5d8947db338d57c2c74e4909cc716f
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive(
|
||||
|
|
@ -9,7 +9,6 @@ vcpkg_extract_source_archive(
|
|||
ARCHIVE "${ARCHIVE}"
|
||||
PATCHES
|
||||
disable-gnu-source.diff
|
||||
find-mathlib.diff
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
{
|
||||
"name": "calceph",
|
||||
"version": "4.0.5",
|
||||
"port-version": 2,
|
||||
"version": "5.0.0",
|
||||
"description": "C library to access the binary planetary ephemeris files.",
|
||||
"homepage": "https://www.imcce.fr/inpop/calceph/",
|
||||
"homepage": "https://calceph.imcce.fr/",
|
||||
"documentation": "https://calceph.imcce.fr/docs/latest/html/c/index.html",
|
||||
"license": "CECILL-2.1 OR CECILL-B OR CECILL-C",
|
||||
"supports": "!uwp",
|
||||
|
|
|
|||
|
|
@ -1597,8 +1597,8 @@
|
|||
"port-version": 0
|
||||
},
|
||||
"calceph": {
|
||||
"baseline": "4.0.5",
|
||||
"port-version": 2
|
||||
"baseline": "5.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"camport3": {
|
||||
"baseline": "1.6.75",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9fadffd1f8cee374a0a50511fed2bc2961a661f7",
|
||||
"version": "5.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "441d53805510383a91d1804dc13563e4743a4d14",
|
||||
"version": "4.0.5",
|
||||
|
|
|
|||
Loading…
Reference in New Issue