Skip to content

Commit 8721e4b

Browse files
committed
[JHBuild] Add missing patch for libjxl.
This patch is copied from e45a46f (265394@main). It should have been added in 55c709a but it was not.
1 parent 0c2e1d0 commit 8721e4b

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
From 4f433922a741268e0dbf4da432ca4c9e4317c6b6 Mon Sep 17 00:00:00 2001
2+
From: Diego Pino Garcia <dpino@igalia.com>
3+
Date: Tue, 20 Jun 2023 20:38:55 +0800
4+
Subject: [PATCH] add-cmake-flag-provision-dependencies
5+
6+
---
7+
CMakeLists.txt | 13 +++++++++++++
8+
1 file changed, 13 insertions(+)
9+
10+
diff --git a/CMakeLists.txt b/CMakeLists.txt
11+
index c2790ab..2382603 100644
12+
--- a/CMakeLists.txt
13+
+++ b/CMakeLists.txt
14+
@@ -47,6 +47,19 @@ if(CHECK_PIE_SUPPORTED)
15+
endif()
16+
endif()
17+
18+
+if(PROVISION_DEPENDENCIES)
19+
+ # Run script to provision dependencies.
20+
+ find_program (BASH_PROGRAM bash)
21+
+ if(BASH_PROGRAM)
22+
+ execute_process(
23+
+ COMMAND ${BASH_PROGRAM} ${CMAKE_CURRENT_SOURCE_DIR}/deps.sh
24+
+ RESULT_VARIABLE PROVISION_DEPENDENCIES_RESULT)
25+
+ endif()
26+
+ if(NOT PROVISION_DEPENDENCIES_RESULT EQUAL "0")
27+
+ message(FATAL_ERROR "${CMAKE_CURRENT_SOURCE_DIR}/deps.sh failed with ${PROVISION_DEPENDENCIES_RESULT}")
28+
+ endif()
29+
+endif()
30+
+
31+
### Project build options:
32+
if(${CXX_FUZZERS_SUPPORTED})
33+
# Enabled by default except on arm64, Windows and Apple builds.
34+
--
35+
2.40.0
36+

0 commit comments

Comments
 (0)