aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2013-12-13 00:48:56 +0800
committergerald <gerald@FreeBSD.org>2013-12-13 00:48:56 +0800
commitad822637df1b25dbee6edb38bb358f0524b888e9 (patch)
tree3589d4e2fd2a0f6fc12b93dc347ad5b481638d2e
parent394f22192889f30d8c39b25f0aaf01c221e52c60 (diff)
downloadfreebsd-ports-gnome-ad822637df1b25dbee6edb38bb358f0524b888e9.tar.gz
freebsd-ports-gnome-ad822637df1b25dbee6edb38bb358f0524b888e9.tar.zst
freebsd-ports-gnome-ad822637df1b25dbee6edb38bb358f0524b888e9.zip
Add #include <sys/types.h> needed by newer compilers such as GCC 4.7.
PR: 184567, 182136 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Approved by: maintainer (O. Hartmann <ohartman@zedat.fu-berlin.de>)
-rw-r--r--devel/freeocl/files/patch-src_freeocl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/freeocl/files/patch-src_freeocl.h b/devel/freeocl/files/patch-src_freeocl.h
new file mode 100644
index 000000000000..55717377d31f
--- /dev/null
+++ b/devel/freeocl/files/patch-src_freeocl.h
@@ -0,0 +1,10 @@
+--- 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 @@
+ #include "dispatch.h"
+ #include <iostream>
+ #include <deque>
++#include <sys/types.h>
+
+ #ifdef DEBUG_UTILS
+ #define MSG(X) std::cout << #X << std::endl