svn commit: r432840 - head/archivers/snappy/files

Vanilla I. Shu vanilla at FreeBSD.org
Mon Jan 30 12:49:23 UTC 2017


Author: vanilla
Date: Mon Jan 30 12:49:22 2017
New Revision: 432840
URL: https://svnweb.freebsd.org/changeset/ports/432840

Log:
  Fix building on i386 (with SSE2 enable)
  
  PR:		216553
  Submitted by:	vvd at unislabs.com

Added:
  head/archivers/snappy/files/
  head/archivers/snappy/files/patch-snappy.cc   (contents, props changed)

Added: head/archivers/snappy/files/patch-snappy.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/snappy/files/patch-snappy.cc	Mon Jan 30 12:49:22 2017	(r432840)
@@ -0,0 +1,11 @@
+--- snappy.cc.orig	2017-01-30 12:42:23 UTC
++++ snappy.cc
+@@ -30,7 +30,7 @@
+ #include "snappy-internal.h"
+ #include "snappy-sinksource.h"
+ 
+-#if defined(__x86_64__) || defined(_M_X64)
++#ifdef __SSE2__
+ #include <emmintrin.h>
+ #endif
+ #include <stdio.h>


More information about the svn-ports-all mailing list