forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* libxft/2.3.6 * disable gcc <6 * fix gcc 5 and gcc 11 * Apply suggestions from code review Co-authored-by: Uilian Ries <uilianries@gmail.com> * Update conanfile.py Co-authored-by: Uilian Ries <uilianries@gmail.com>
- Loading branch information
Showing
4 changed files
with
48 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
sources: | ||
"2.3.6": | ||
url: "https://www.x.org/archive/individual/lib/libXft-2.3.6.tar.gz" | ||
sha256: "b7e59f69e0bbabe9438088775f7e5a7c16a572e58b11f9722519385d38192df5" | ||
"2.3.4": | ||
url: "https://www.x.org/archive/individual/lib/libXft-2.3.4.tar.gz" | ||
sha256: "1eca71bec9cb483165ce1ab94f5cd3036269f5268651df6a2d99c4a7ab644d79" | ||
patches: | ||
"2.3.6": | ||
- patch_file: "patches/0001-fix-gcc-5-and-11.patch" | ||
patch_description: "fix gcc 5 and gcc 11 compilation" | ||
patch_type: "portability" | ||
patch_source: "https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/17" | ||
base_path: "source_subfolder" |
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
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,24 @@ | ||
From 84310d83bf4c057dd0866e7116779c9c2f043007 Mon Sep 17 00:00:00 2001 | ||
From: ericLemanissier <eric.lemanissier@gmail.com> | ||
Date: Fri, 23 Sep 2022 07:59:55 +0000 | ||
Subject: [PATCH] fix compilation with gcc 5 and gcc 11 | ||
|
||
stdint.h header is needed for SIZE_MAX | ||
--- | ||
src/xftrender.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/xftrender.c b/src/xftrender.c | ||
index 3021d56..c15237e 100644 | ||
--- a/src/xftrender.c | ||
+++ b/src/xftrender.c | ||
@@ -21,6 +21,7 @@ | ||
*/ | ||
|
||
#include "xftint.h" | ||
+#include <stdint.h> | ||
|
||
#define NUM_LOCAL 1024 | ||
#define NUM_ELT_LOCAL 128 | ||
-- | ||
GitLab |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
versions: | ||
"2.3.6": | ||
folder: all | ||
"2.3.4": | ||
folder: all |