-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cccf8ae
commit 8e8d780
Showing
3 changed files
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
recipes/freetype/meson/patches/2.13.0-0001-fix-fallthrough.patch
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
...type/meson/patches/2.13.2-0001-meson-Use-the-standard-dependency-mechanism-to-find-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 1d5c5cb50feed67c4e89f30ff2a3408adc57081e Mon Sep 17 00:00:00 2001 | ||
From: Jordan Williams <jordan@jwillikers.com> | ||
Date: Mon, 4 Mar 2024 12:14:51 -0600 | ||
Subject: [PATCH] meson: Use the standard dependency mechanism to find bzip2 | ||
|
||
This follows standard conventions in Meson by using the pkg-config file. | ||
This change allows Conan to switch to the Meson build system. | ||
--- | ||
meson.build | 3 +-- | ||
1 file changed, 1 insertion(+), 2 deletions(-) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index f81de3e2f..81117ddb4 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -316,8 +316,7 @@ else | ||
endif | ||
|
||
# BZip2 support | ||
-bzip2_dep = cc.find_library('bz2', | ||
- required: get_option('bzip2')) | ||
+bzip2_dep = dependency('bzip2', required: get_option('bzip2')) | ||
|
||
if bzip2_dep.found() | ||
ftoption_command += ['--enable=FT_CONFIG_OPTION_USE_BZIP2'] | ||
-- | ||
2.44.0 | ||
|