1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix the build by including xmmintr.h in a few places.

PR:		191595
Submitted by:	ohartman@zedat.fu-berlin.de (maintainer)
MFH:		2014Q3
This commit is contained in:
Raphael Kubo da Costa 2014-07-14 17:21:45 +00:00
parent db4370d6b4
commit 5fcde2efe3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361803
3 changed files with 15 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= freeocl
PORTVERSION= 0.3.6
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= FreeOCL-${PORTVERSION}-src

View File

@ -0,0 +1,10 @@
--- src/utils/threadpool.cpp.orig 2014-07-04 08:45:34.000000000 +0200
+++ src/utils/threadpool.cpp 2014-07-04 08:46:03.000000000 +0200
@@ -18,6 +18,7 @@
#include "threadpool.h"
#include <FreeOCL/config.h>
#include <sched.h>
+#include <xmmintrin.h>
#include <atomic_ops.h>
#include <utils/time.h>

View File

@ -1,10 +1,11 @@
--- src/freeocl.h.orig 2013-11-15 21:18:17.000000000 +0100
+++ src/freeocl.h 2013-11-15 21:24:32.000000000 +0100
@@ -26,6 +26,7 @@
--- src/freeocl.h.orig 2012-09-02 19:00:41.000000000 +0200
+++ src/freeocl.h 2014-07-04 08:42:48.000000000 +0200
@@ -26,6 +26,8 @@
#include "dispatch.h"
#include <iostream>
#include <deque>
+#include <sys/types.h>
+#include <xmmintrin.h>
#ifdef DEBUG_UTILS
#define MSG(X) std::cout << #X << std::endl