mgorny      15/06/14 18:04:33

  Added:                freebsd-sources-10.1-gcc48.patch
  Log:
  Stop requiring clang. Fix failures with recent gcc versions, bug #477914. 
https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/148 by nigoro.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.1                  
sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-gcc48.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-gcc48.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-gcc48.patch?rev=1.1&content-type=text/plain

Index: freebsd-sources-10.1-gcc48.patch
===================================================================
https://svnweb.freebsd.org/base?view=revision&revision=281606

diff --git a/sys/crypto/aesni/aesencdec.h b/sys/crypto/aesni/aesencdec.h
index d4ed8b3..79847ee 100644
--- a/sys/crypto/aesni/aesencdec.h
+++ b/sys/crypto/aesni/aesencdec.h
@@ -27,6 +27,11 @@
  *
  */
 
+#if defined(__GNUC__) && defined(_KERNEL)
+/* Suppress inclusion of gcc's mm_malloc.h header */
+#define _MM_MALLOC_H_INCLUDED 1
+#endif
+
 #include <wmmintrin.h>
 
 static inline void




Reply via email to