summaryrefslogtreecommitdiff
path: root/user/ripgrep/pcre2-static.patch
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-06-21 21:45:21 -0500
committerSamuel Holland <samuel@sholland.org>2019-06-21 22:43:28 -0500
commit9a6def0cd13b916fd15d3d0c297d65c03f719725 (patch)
treefff8d4fd783830e9eee207567f98d49d08a2a059 /user/ripgrep/pcre2-static.patch
parent6da6042c62ef1024943698d369bb982f7e274dcc (diff)
downloadpackages-9a6def0cd13b916fd15d3d0c297d65c03f719725.tar.gz
packages-9a6def0cd13b916fd15d3d0c297d65c03f719725.tar.bz2
packages-9a6def0cd13b916fd15d3d0c297d65c03f719725.tar.xz
packages-9a6def0cd13b916fd15d3d0c297d65c03f719725.zip
user/ripgrep: New package
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'user/ripgrep/pcre2-static.patch')
-rw-r--r--user/ripgrep/pcre2-static.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/ripgrep/pcre2-static.patch b/user/ripgrep/pcre2-static.patch
new file mode 100644
index 000000000..180e91b68
--- /dev/null
+++ b/user/ripgrep/pcre2-static.patch
@@ -0,0 +1,12 @@
+--- src/pcre2-sys-0.2.0/build.rs 2019-06-22 01:43:31.024909528 +0000
++++ src/pcre2-sys-0.2.0/build.rs 2019-06-22 01:43:43.697401790 +0000
+@@ -64,8 +64,7 @@
+
+ // Don't link to a system library if we want a static build.
+ let want_static =
+- env::var("PCRE2_SYS_STATIC").unwrap_or(String::new()) == "1"
+- || target.contains("musl");
++ false;
+ if !want_static && pkg_config::probe_library("libpcre2-8").is_ok() {
+ return;
+ }