Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ports/azure-c-shared-utility/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Source: azure-c-shared-utility
Version: 2020-12-09
Port-Version: 1
Description: Azure C SDKs common code
Homepage: https://github.com/Azure/azure-c-shared-utility
Build-Depends: curl (linux), openssl (linux), azure-macro-utils-c, umock-c
Expand Down
26 changes: 26 additions & 0 deletions ports/azure-c-shared-utility/disable-error.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/configs/azure_iot_build_rules.cmake b/configs/azure_iot_build_rules.cmake
index be3e14fe..aa402902 100644
--- a/configs/azure_iot_build_rules.cmake
+++ b/configs/azure_iot_build_rules.cmake
@@ -71,8 +71,6 @@ if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4")
elseif(UNIX) #LINUX OR APPLE
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
if(NOT (IN_OPENWRT OR APPLE))
set (CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L ${CMAKE_C_FLAGS}")
endif()
@@ -191,12 +189,6 @@ endfunction()
IF((WIN32) AND (NOT(MINGW)))
#windows needs this define
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
- # Make warning as error
- add_definitions(/WX)
-ELSE()
- # Make warning as error
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
ENDIF()


2 changes: 2 additions & 0 deletions ports/azure-c-shared-utility/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if("public-preview" IN_LIST FEATURES)
HEAD_REF master
PATCHES
fix-utilityFunctions-conditions-preview.patch
disable-error.patch
)
else()
vcpkg_from_github(
Expand All @@ -21,6 +22,7 @@ else()
HEAD_REF master
PATCHES
fix-utilityFunctions-conditions.patch
disable-error.patch
)
endif()

Expand Down
6 changes: 3 additions & 3 deletions ports/azure-kinect-sensor-sdk/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ Source: azure-kinect-sensor-sdk
Version: 1.4.1
Homepage: https://github.com/microsoft/Azure-Kinect-Sensor-SDK
Description: Azure Kinect SDK is a cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
Build-Depends: azure-c-shared-utility, glfw3, gtest, imgui, libusb, spdlog, cjson, ebml, libjpeg-turbo, matroska, libsoundio, libyuv
Supports: windows
Build-Depends: azure-c-shared-utility, glfw3, gtest, imgui, libusb, spdlog, cjson, ebml, libjpeg-turbo, matroska, libsoundio, libyuv, libuvc (linux)
Supports: !osx

Feature: docs
Description: Build K4A doxygen documentation.

Feature: tool
Description: Build tools.
Build-Depends: gl3w, glew, imgui[glfw-binding,opengl3-glew-binding]
Build-Depends: gl3w, glew, imgui[glfw-binding,opengl3-glew-binding]
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ index 58a092e..ed4a6d2 100644
find_package(Matroska CONFIG REQUIRED)
+add_definitions(-DMATROSKA_VERSION=2)
find_package(libsoundio CONFIG REQUIRED)
find_library(LibUSB libusb-1.0 REQUIRED)
find_package(libusb CONFIG REQUIRED)
find_package(libuvc CONFIG REQUIRED)
find_package(libyuv CONFIG REQUIRED)
13 changes: 0 additions & 13 deletions ports/azure-kinect-sensor-sdk/disable-c4275.patch

This file was deleted.

Loading