ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / os-specific / bsd / freebsd / patches / 13.1 / sys-no-explicit-intrinsics-dep.patch
blobedf44de5bb0d79aefab106c5ef22919d1d28c075
1 diff --git a/sys/modules/aesni/Makefile b/sys/modules/aesni/Makefile
2 index cb8c744adde..1c327331890 100644
3 --- a/sys/modules/aesni/Makefile
4 +++ b/sys/modules/aesni/Makefile
5 @@ -1,7 +1,6 @@
6 # $FreeBSD$
8 .PATH: ${SRCTOP}/sys/crypto/aesni
9 -.PATH: ${SRCTOP}/contrib/llvm-project/clang/lib/Headers
11 KMOD= aesni
12 SRCS= aesni.c
13 @@ -40,8 +39,8 @@ intel_sha256.o: intel_sha256.c
14 aesni_ghash.o: aesni.h
15 aesni_wrap.o: aesni.h
16 aesni_ccm.o: aesni.h
17 -intel_sha1.o: sha_sse.h immintrin.h shaintrin.h tmmintrin.h xmmintrin.h
18 -intel_sha256.o: sha_sse.h immintrin.h shaintrin.h tmmintrin.h xmmintrin.h
19 +intel_sha1.o: sha_sse.h
20 +intel_sha256.o: sha_sse.h
22 .include <bsd.kmod.mk>
24 diff --git a/sys/modules/blake2/Makefile b/sys/modules/blake2/Makefile
25 index e4b3fb9f126..5bfd9c2ae02 100644
26 --- a/sys/modules/blake2/Makefile
27 +++ b/sys/modules/blake2/Makefile
28 @@ -3,7 +3,6 @@
29 .PATH: ${SRCTOP}/sys/contrib/libb2
30 .PATH: ${SRCTOP}/sys/crypto/blake2
31 .PATH: ${SRCTOP}/sys/opencrypto
32 -.PATH: ${SRCTOP}/contrib/llvm-project/clang/lib/Headers
34 KMOD = blake2
36 @@ -64,8 +63,7 @@ ${src:S/.c/.o/}: ${src}
37 -D_MM_MALLOC_H_INCLUDED -Wno-unused-function ${.IMPSRC}
38 ${CTFCONVERT_CMD}
40 -${src:S/.c/.o/}: intrin.h emmintrin.h tmmintrin.h smmintrin.h immintrin.h \
41 - x86intrin.h ${SRCS:M*.h}
42 +${src:S/.c/.o/}: ${SRCS:M*.h}
43 .endfor
45 # FreeBSD-specific sources: