File: patched-rust-pcre2.patch

package info (click to toggle)
fish 4.0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,384 kB
  • sloc: python: 6,565; javascript: 1,406; sh: 557; ansic: 385; objc: 78; makefile: 20; xml: 19
file content (31 lines) | stat: -rw-r--r-- 989 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Use vendored, fish patched, rust-pcre2
 which is apparently not packaged, and unlikely to be.
Forwarded: not-needed
Last-Update: 2024-12-20
Index: fish/Cargo.toml
===================================================================
--- fish.orig/Cargo.toml
+++ fish/Cargo.toml
@@ -1,6 +1,12 @@
 [workspace]
 resolver = "2"
-members = ["printf"]
+members = [
+    "printf",
+    # Debian: nested workspaces are not allowed, thus.
+    # [workspace] in rust-pcre2/Cargo.toml is commented out, accordingly.
+    "debian/missing-sources/rust-pcre2",
+    "debian/missing-sources/rust-pcre2/pcre2-sys",
+]
 
 [workspace.package]
 rust-version = "1.70"
@@ -28,7 +34,7 @@ homepage = "https://fishshell.com"
 readme = "README.rst"
 
 [dependencies]
-pcre2 = { git = "https://github.com/fish-shell/rust-pcre2", tag = "0.2.9-utf32", default-features = false, features = [
+pcre2 = { path = "debian/missing-sources/rust-pcre2", default-features = false, features = [
     "utf32",
 ] }