Skip to content

Commit 9332716

Browse files
committed
Build cairo without pthread
1 parent a6bcc70 commit 9332716

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
From c94f49cd8aa0d91b38cd0dc3872c42425822cbb0 Mon Sep 17 00:00:00 2001
2+
From: Isabel Paredes <isabel.paredes@quantstack.net>
3+
Date: Tue, 14 Jan 2025 19:49:23 +0100
4+
Subject: [PATCH] Build cairo without pthread
5+
6+
---
7+
configure | 2 ++
8+
1 file changed, 2 insertions(+)
9+
10+
diff --git a/configure b/configure
11+
index 6d4d68d..83ce92a 100755
12+
--- a/configure
13+
+++ b/configure
14+
@@ -50966,6 +50966,8 @@ printf "%s\n" "$as_me: using static pangocairo" >&6;}
15+
CAIROX11_LIBS=`"${PKG_CONFIG}" --libs ${xmodlist}`
16+
fi
17+
18+
+CAIRO_LIBS=$(echo $CAIRO_LIBS | sed 's/-pthread//g' | sed 's/-sPTHREAD_POOL_SIZE=4//g')
19+
+
20+
CPPFLAGS="${CPPFLAGS} ${CAIRO_CPPFLAGS}"
21+
LIBS="${LIBS} ${CAIRO_LIBS}"
22+

recipes/recipes_emscripten/r-base/recipe.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ source:
2323
- patches/0011-Use-cross_libraries-script-when-cross-compiling.patch
2424
- patches/0012-Install-wasm-files.patch
2525
- patches/0013-Remove-png-lib-from-bitmap-libs.patch
26+
- patches/0014-Build-cairo-without-pthread.patch
2627

2728
build:
28-
number: 5
29+
number: 6
2930

3031
requirements:
3132
build:

0 commit comments

Comments
 (0)