FreeBSD Bugzilla – Attachment 187802 Details for
Bug 223478
textproc/ripgrep: Restore shell completion options broken by previous SIMD options patch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for shell completion config options
ripgrep-0.7.1_2.diff (text/plain), 1.79 KB, created by
Petteri Valkonen
on 2017-11-06 17:50:28 UTC
(
hide
)
Description:
Fix for shell completion config options
Filename:
MIME Type:
Creator:
Petteri Valkonen
Created:
2017-11-06 17:50:28 UTC
Size:
1.79 KB
patch
obsolete
>diff -ruN ripgrep.orig/Makefile ripgrep/Makefile >--- ripgrep.orig/Makefile 2017-11-06 17:39:50.350536000 +0200 >+++ ripgrep/Makefile 2017-11-06 17:40:19.446151000 +0200 >@@ -5,7 +5,7 @@ > > PORTNAME= ripgrep > PORTVERSION= 0.7.1 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= textproc > > MAINTAINER= petteri.valkonen@iki.fi >@@ -20,10 +20,23 @@ > USE_GITHUB= yes > GH_ACCOUNT= BurntSushi > >-OPTIONS_DEFINE= BASH FISH ZSH >-OPTIONS_DEFAULT=BASH FISH ZSH >+OPTIONS_DEFINE= BASH FISH ZSH SIMD >+OPTIONS_DEFAULT=BASH FISH ZSH SIMD > FISH_DESC= Install programmable completions for Fish > >+OPTIONS_DEFINE_amd64= AVX >+OPTIONS_DEFINE_i386= AVX >+ >+AVX_DESC= ${SSE_DESC:S/SSE/AVX/} >+AVX_VARS= CARGO_FEATURES+=avx-accel RUSTFLAGS+="-C target-feature=+avx" >+AVX_IMPLIES= SIMD >+ >+# simd crate uses cfg_target_feature which isn't stable yet, so unlock >+# unstable features similar to how lang/rust bootstraps. www/firefox >+# uses the same hack when building with --enable-rust-simd. >+SIMD_MAKE_ENV= RUSTC_BOOTSTRAP=1 >+SIMD_VARS= CARGO_FEATURES+=simd-accel >+ > PLIST_FILES= bin/rg \ > man/man1/rg.1.gz > BASH_PLIST_FILES= etc/bash_completion.d/rg.bash-completion >@@ -74,22 +87,6 @@ > RIPGREP_OUTDIR= ${WRKDIR}/cargo-out > CARGO_ENV= RIPGREP_OUTDIR=${RIPGREP_OUTDIR} > >-OPTIONS_DEFINE= SIMD >-OPTIONS_DEFAULT=SIMD >- >-OPTIONS_DEFINE_amd64= AVX >-OPTIONS_DEFINE_i386= AVX >- >-AVX_DESC= ${SSE_DESC:S/SSE/AVX/} >-AVX_VARS= CARGO_FEATURES+=avx-accel RUSTFLAGS+="-C target-feature=+avx" >-AVX_IMPLIES= SIMD >- >-# simd crate uses cfg_target_feature which isn't stable yet, so unlock >-# unstable features similar to how lang/rust bootstraps. www/firefox >-# uses the same hack when building with --enable-rust-simd. >-SIMD_MAKE_ENV= RUSTC_BOOTSTRAP=1 >-SIMD_VARS= CARGO_FEATURES+=simd-accel >- > post-patch: > @${REINPLACE_CMD} -e 's|OUT_DIR|RIPGREP_OUTDIR|' ${WRKSRC}/build.rs >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223478
: 187802