Skip to content

Commit

Permalink
Add new patches
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Oct 21, 2024
1 parent 861e326 commit 5c8104b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions waterfox-kde/patches/Bug-1894093.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 06f8a8052df891c0f336937491e2f4206631cafd Mon Sep 17 00:00:00 2001
From: Mike Hommey <[email protected]>
Date: Thu, 2 May 2024 14:17:47 +0200
Subject: [PATCH] Bug 1894093 - Apply
https://github.com/rust-lang/rust-bindgen/pull/2824 to vendored bindgen.

---
third_party/rust/bindgen/clang.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/third_party/rust/bindgen/clang.rs b/third_party/rust/bindgen/clang.rs
index 32a25449bc4b..580b3ae3b307 100644
--- a/third_party/rust/bindgen/clang.rs
+++ b/third_party/rust/bindgen/clang.rs
@@ -1515,7 +1515,7 @@ impl SourceLocation {
let mut line = 0;
let mut col = 0;
let mut off = 0;
- clang_getSpellingLocation(
+ clang_getFileLocation(
self.x, &mut file, &mut line, &mut col, &mut off,
);
(File { x: file }, line as usize, col as usize, off as usize)
--
2.47.0

3 changes: 3 additions & 0 deletions waterfox-kde/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ fix-wayland-build.patch -p1
debian-hacks/Relax-nodejs-minimum-version.patch -p1
debian-hacks/Relax-cargo-version-requirement.patch -p1
mach-depends.patch -p1
Bug-1912663.patch -p1
Bug-1894093.patch -p1
rust-1.78.patch -p1

0 comments on commit 5c8104b

Please sign in to comment.