-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: caitcat <caitcatdev@protonmail.com>
- Loading branch information
Showing
2 changed files
with
82 additions
and
17 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
srcpkgs/gamescope/patches/0001-Include-limits.h-in-Process.cpp.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,20 @@ | ||
From 6cff4b34ab52b8178e2f7b1268a7ef35f2fb908c Mon Sep 17 00:00:00 2001 | ||
From: Dexter Gaon-Shatford <dexter@gaonshatford.ca> | ||
Date: Sat, 20 Jul 2024 23:31:32 -0400 | ||
Subject: [PATCH] Include limits.h in Process.cpp | ||
|
||
Without this header, the PATH_MAX macro isn't defined when building | ||
against musl libc. | ||
--- | ||
src/Utils/Process.cpp | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/Utils/Process.cpp b/src/Utils/Process.cpp | ||
index 5688fb1..3f0d48c 100644 | ||
--- a/src/Utils/Process.cpp | ||
+++ b/src/Utils/Process.cpp | ||
@@ -27,0 +28 @@ | ||
+#include <limits.h> | ||
-- | ||
2.45.2 | ||
|
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