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:
parent
db4370d6b4
commit
5fcde2efe3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361803
@ -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
|
||||
|
10
devel/freeocl/files/patch-src-utils-threadpool.cpp
Normal file
10
devel/freeocl/files/patch-src-utils-threadpool.cpp
Normal 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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user