void-packages/srcpkgs/suricata/patches/configure.patch

28 lines
996 B
Diff

--- configure.orig 2019-02-22 22:09:50.521219706 +0100
+++ configure 2019-02-22 22:23:32.663207196 +0100
@@ -26682,24 +26681,0 @@ $as_echo "#define HAVE_RUST 1" >>confdef
- as_ac_File=`$as_echo "ac_cv_file_$srcdir/rust/vendor" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $srcdir/rust/vendor" >&5
-$as_echo_n "checking for $srcdir/rust/vendor... " >&6; }
-if eval \${$as_ac_File+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- test "$cross_compiling" = yes &&
- as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
-if test -r "$srcdir/rust/vendor"; then
- eval "$as_ac_File=yes"
-else
- eval "$as_ac_File=no"
-fi
-fi
-eval ac_res=\$$as_ac_File
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
-
-cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$srcdir/rust/vendor" | $as_tr_cpp` 1
-_ACEOF
-have_rust_vendor="yes"
-fi