From f0cd4479e8cd87e358cc213c033158ac01617404 Mon Sep 17 00:00:00 2001 From: Ignat Loskutov Date: Fri, 26 Oct 2018 19:28:03 +0300 Subject: [pixman] fix compilation on linux (#4570) --- ports/pixman/CMakeLists.txt | 5 ++--- ports/pixman/CONTROL | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ports/pixman/CMakeLists.txt b/ports/pixman/CMakeLists.txt index d355fe8c6..c75574865 100644 --- a/ports/pixman/CMakeLists.txt +++ b/ports/pixman/CMakeLists.txt @@ -1,11 +1,10 @@ cmake_minimum_required(VERSION 3.0) -project(pixman VERSION 0.32.0 LANGUAGES C) +project(pixman VERSION 0.34.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) +if(UNIX) add_definitions(-DHAVE_PTHREADS) endif() diff --git a/ports/pixman/CONTROL b/ports/pixman/CONTROL index d3a5cede7..64d8abde0 100644 --- a/ports/pixman/CONTROL +++ b/ports/pixman/CONTROL @@ -1,3 +1,3 @@ Source: pixman -Version: 0.34.0-4 +Version: 0.34.0-5 Description: Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization. -- cgit v1.2.3