aboutsummaryrefslogtreecommitdiff
path: root/ports/pixman
diff options
context:
space:
mode:
authorangelmixu <salemixu@gmail.com>2018-08-01 02:10:12 +0200
committerRobert Schumacher <roschuma@microsoft.com>2018-07-31 17:10:12 -0700
commit81d3b2cc6ac89cb9d4f88d24e03bd2b5917fbe49 (patch)
treecee2d684f1bab088faf3d63ed5039609e4411cea /ports/pixman
parent0618d13b2e0e2b1a922e58b69b20e67a1706c10d (diff)
downloadvcpkg-81d3b2cc6ac89cb9d4f88d24e03bd2b5917fbe49.tar.gz
vcpkg-81d3b2cc6ac89cb9d4f88d24e03bd2b5917fbe49.zip
fix pixman and cairo for macOS (#3923)
* fix pixman error message about Unknown thread local support * fixes for building cairo on macOS * corrected appending files to sources * [cairo][pixman] Bump package versions to include source code changes
Diffstat (limited to 'ports/pixman')
-rw-r--r--ports/pixman/CMakeLists.txt5
-rw-r--r--ports/pixman/CONTROL2
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/pixman/CMakeLists.txt b/ports/pixman/CMakeLists.txt
index 322c08a9c..8dc9940cb 100644
--- a/ports/pixman/CMakeLists.txt
+++ b/ports/pixman/CMakeLists.txt
@@ -4,6 +4,11 @@ project(pixman VERSION 0.32.0 LANGUAGES C)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
set(CMAKE_DEBUG_POSTFIX "d")
+if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
+ add_definitions(-DTLS=__thread)
+ add_definitions(-DHAVE_PTHREADS)
+endif()
+
include_directories(".")
file(GLOB SOURCES
diff --git a/ports/pixman/CONTROL b/ports/pixman/CONTROL
index 940c30cc2..0deb60d33 100644
--- a/ports/pixman/CONTROL
+++ b/ports/pixman/CONTROL
@@ -1,3 +1,3 @@
Source: pixman
-Version: 0.34.0-2
+Version: 0.34.0-3
Description: Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization.