aboutsummaryrefslogtreecommitdiff
path: root/ports/jxrlib
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-09-24 15:15:06 -0700
committerGitHub <noreply@github.com>2020-09-24 15:15:06 -0700
commit4cbbcbddfd42d94d6d8ee6c8b6ad00ef6a0927d3 (patch)
tree371509cc59c45895c85e5e049aaa2cd9c39cc7b0 /ports/jxrlib
parentc1acea1f044d3300b0c3791c2ce74d53e5a15548 (diff)
downloadvcpkg-4cbbcbddfd42d94d6d8ee6c8b6ad00ef6a0927d3.tar.gz
vcpkg-4cbbcbddfd42d94d6d8ee6c8b6ad00ef6a0927d3.zip
[vcpkg macos ci] Switch to using our own base boxes, to fix bringing up mac machines (#13619)
* [vcpkg ci:osx] Remove brew install * add instructions for creating a new vagrant box * fix the vagrant scripts for the new box * finish fixing the setup * [mecab jxrlib] fix ports for CI mecab needed to use an actual ref that wasn't master, and jxrlib needed a patch for xcode 12 CLTs. Additionally, this fixes the mecab version to be a date, the date of the last commit, since `1.0` is not the correct version (mecab doesn't have released versions) * [many ports] fix compile with Xcode 12 CLTs This mostly means fixing errors on implicit-function-declaration, and removing some Werrors * alac-decoder * apr * argtable2 * arrow * hyperscan * mcpp * minizip * mosquitto * stormlib * [many ports] even more Xcode 12 CLT fixes * [jxrlib darknet] fix the last ports! (hopefully) * CRs, plus minor wip changes to osx scripts
Diffstat (limited to 'ports/jxrlib')
-rw-r--r--ports/jxrlib/CMakeLists.txt1
-rw-r--r--ports/jxrlib/CONTROL3
-rw-r--r--ports/jxrlib/portfile.cmake8
3 files changed, 6 insertions, 6 deletions
diff --git a/ports/jxrlib/CMakeLists.txt b/ports/jxrlib/CMakeLists.txt
index 727b96906..7a73e3cba 100644
--- a/ports/jxrlib/CMakeLists.txt
+++ b/ports/jxrlib/CMakeLists.txt
@@ -20,6 +20,7 @@ endmacro()
if(NOT MSVC)
add_definitions(-D__ANSI__)
+ add_compile_options(-Wno-error=implicit-function-declaration)
endif()
include(TestBigEndian)
diff --git a/ports/jxrlib/CONTROL b/ports/jxrlib/CONTROL
index c92324b4f..1a8fa60ba 100644
--- a/ports/jxrlib/CONTROL
+++ b/ports/jxrlib/CONTROL
@@ -1,4 +1,5 @@
Source: jxrlib
-Version: 2019.10.9-1
+Version: 2019.10.9
+Port-Version: 2
Homepage: https://github.com/4creators/jxrlib
Description: Open source implementation of the jpegxr image format standard.
diff --git a/ports/jxrlib/portfile.cmake b/ports/jxrlib/portfile.cmake
index bf131d431..ed4e45940 100644
--- a/ports/jxrlib/portfile.cmake
+++ b/ports/jxrlib/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
@@ -13,9 +11,9 @@ vcpkg_from_github(
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
if(NOT VCPKG_CMAKE_SYSTEM_NAME MATCHES Darwin AND NOT VCPKG_CMAKE_SYSTEM_NAME MATCHES Linux)
- # The file guiddef.h is part of the Windows SDK,
- # we then remove the local copy shipped with jxrlib
- file(REMOVE ${SOURCE_PATH}/common/include/guiddef.h)
+ # The file guiddef.h is part of the Windows SDK,
+ # we then remove the local copy shipped with jxrlib
+ file(REMOVE ${SOURCE_PATH}/common/include/guiddef.h)
endif()
vcpkg_configure_cmake(