summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-22 05:10:31 +0000
committerSam James <sam@gentoo.org>2023-01-22 05:10:31 +0000
commitc68adcf9c7e123e05e930b9da5d16ec27a3fa55b (patch)
treea71f7adb2761042d3ad69bb4a7b166f44be352aa /dev-util
parentdev-cpp/folly: update patch to upstream variant (diff)
downloadgentoo-c68adcf9c7e123e05e930b9da5d16ec27a3fa55b.tar.gz
gentoo-c68adcf9c7e123e05e930b9da5d16ec27a3fa55b.tar.bz2
gentoo-c68adcf9c7e123e05e930b9da5d16ec27a3fa55b.zip
dev-util/watchman: update patch to upstream variant
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/watchman/files/watchman-2023.01.16.00-gcc13.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/watchman/files/watchman-2023.01.16.00-gcc13.patch b/dev-util/watchman/files/watchman-2023.01.16.00-gcc13.patch
index 170450f43f69..20c70d29e28b 100644
--- a/dev-util/watchman/files/watchman-2023.01.16.00-gcc13.patch
+++ b/dev-util/watchman/files/watchman-2023.01.16.00-gcc13.patch
@@ -1,3 +1,16 @@
+https://github.com/facebook/watchman/pull/1089
+
+From 6535e011af5b89e9aa2a6faa60fc862f36f8b483 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sun, 22 Jan 2023 05:09:25 +0000
+Subject: [PATCH] Fix build with GCC 13 (add missing <cstdint> include)
+
+GCC 13 (as usual for new compiler releases) shuffles around some
+internal includes and so <cstdint> is no longer transitively included.
+
+Explicitly include <cstdint> for uint32_t.
+
+Signed-off-by: Sam James <sam@gentoo.org>
--- a/watchman/Errors.h
+++ b/watchman/Errors.h
@@ -8,6 +8,7 @@