ports/178757: devel/freeocl: Update

O. Hartmann ohartman at zedat.fu-berlin.de
Sat May 18 20:20:02 UTC 2013


>Number:         178757
>Category:       ports
>Synopsis:       devel/freeocl: Update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 18 20:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 10..0-CURRENT/amd64 FreeBSD 9.1-STABLE/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Several changes has to be made:

The port compiles now with CLANG (tested: CLANG 3.3)

Correct installation of PREFIX/etc/OpenCL/vendors/freeocl.icd ICD loader config file

A cast in parser.h (bool) to make CLANG not fail.

Patch CMAKE to add the search path /usr/local/include (otherwise atomic_ops.h isn't found when used with CLANG).

There are still problems with this port which do not reveal themselfes to me in the clear. With a small testprogram trying to obtain the platform, I do not get any platform and the program fails with a "file not found error". A truss shows that "libc.cat" is been searched for before exiting.

FreeOCL isn't developed actively anymore (it seems to be "cold" since 2011) and the OpenCL standard is 1.1.

Working on POCL (0.8 is out soon and it is more promising and actively developed).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nur freeocl/.svn/entries freeocl.trunk/.svn/entries
--- freeocl/.svn/entries	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/entries	2013-05-18 20:18:15.685855892 +0200
@@ -0,0 +1 @@
+12
diff -Nur freeocl/.svn/format freeocl.trunk/.svn/format
--- freeocl/.svn/format	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/format	2013-05-18 20:18:15.685855892 +0200
@@ -0,0 +1 @@
+12
diff -Nur freeocl/.svn/pristine/0a/0a4b0c4b6e886a5556d1f73718780d9f7fbd5bce.svn-base freeocl.trunk/.svn/pristine/0a/0a4b0c4b6e886a5556d1f73718780d9f7fbd5bce.svn-base
--- freeocl/.svn/pristine/0a/0a4b0c4b6e886a5556d1f73718780d9f7fbd5bce.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/0a/0a4b0c4b6e886a5556d1f73718780d9f7fbd5bce.svn-base	2013-05-18 20:18:15.795055281 +0200
@@ -0,0 +1,11 @@
+--- src/parser/parser.h.orig	2012-12-24 17:42:59.000000000 +0100
++++ src/parser/parser.h	2012-12-24 17:43:11.000000000 +0100
+@@ -115,7 +115,7 @@
+ 		inline std::istream &get(char &c)
+ 		{
+ 			c = 0;
+-			const bool ok = in.get(c);
++			const bool ok = (bool) in.get(c);
+ 			if (c == '\n')
+ 				++line;
+ 			if (!current_line.empty() && *current_line.rbegin() == '\n')
diff -Nur freeocl/.svn/pristine/0d/0d916aae86543a7a4d3d3b001ebcaa53f218c658.svn-base freeocl.trunk/.svn/pristine/0d/0d916aae86543a7a4d3d3b001ebcaa53f218c658.svn-base
--- freeocl/.svn/pristine/0d/0d916aae86543a7a4d3d3b001ebcaa53f218c658.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/0d/0d916aae86543a7a4d3d3b001ebcaa53f218c658.svn-base	2013-05-18 20:31:45.179968218 +0200
@@ -0,0 +1,11 @@
+--- src/parser/parser.h.orig	2013-05-18 20:29:20.184081422 +0200
++++ src/parser/parser.h	2013-05-18 20:29:39.327297281 +0200
+@@ -115,7 +115,7 @@
+ 		inline std::istream &get(char &c)
+ 		{
+ 			c = 0;
+-			const bool ok = in.get(c);
++			const bool ok = (bool) in.get(c);
+ 			if (c == '\n')
+ 				++line;
+ 			if (!current_line.empty() && *current_line.rbegin() == '\n')
diff -Nur freeocl/.svn/pristine/1a/1a5e0aeb9ad399a46de7de52f5730548a65d743e.svn-base freeocl.trunk/.svn/pristine/1a/1a5e0aeb9ad399a46de7de52f5730548a65d743e.svn-base
--- freeocl/.svn/pristine/1a/1a5e0aeb9ad399a46de7de52f5730548a65d743e.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/1a/1a5e0aeb9ad399a46de7de52f5730548a65d743e.svn-base	2013-05-18 20:32:15.857972564 +0200
@@ -0,0 +1,35 @@
+# Created by: Oliver Hartmann <ohartman at zedat.fu-berlin.de>
+# $FreeBSD: head/devel/freeocl/Makefile 314960 2013-03-22 20:06:14Z makc $
+
+PORTNAME=	freeocl
+PORTVERSION=	0.3.6
+PORTREVISION=	2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+DISTNAME=	FreeOCL-${PORTVERSION}-src
+
+MAINTAINER=	ohartman at zedat.fu-berlin.de
+COMMENT=	Free Open Computing Language (OpenCL) implementation for CPU
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
+		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
+
+LICENSE=	LGPL3
+
+WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
+
+CXXFLAGS+=	-stdlib=libc++
+
+USES=		cmake
+USE_LDCONFIG=	yes
+CMAKE_BUILD_TYPE=Release
+
+post-patch:
+	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
+		${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800000
+BROKEN=		this port does not compile at 7.x: "src/program.cpp:531:37: error: 'RTLD_NOLOAD' was not declared in this scope"
+.endif
+.include <bsd.port.post.mk>
diff -Nur freeocl/.svn/pristine/48/48d519f188e36d14ae9ada81a5324b94a842fd8b.svn-base freeocl.trunk/.svn/pristine/48/48d519f188e36d14ae9ada81a5324b94a842fd8b.svn-base
--- freeocl/.svn/pristine/48/48d519f188e36d14ae9ada81a5324b94a842fd8b.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/48/48d519f188e36d14ae9ada81a5324b94a842fd8b.svn-base	2013-05-18 20:18:15.793855848 +0200
@@ -0,0 +1,14 @@
+--- src/device.cpp.orig	2013-05-18 20:12:03.000000000 +0200
++++ src/device.cpp	2013-05-18 20:13:30.000000000 +0200
+@@ -345,7 +345,11 @@
+ 
+ 	pool = new FreeOCL::threadpool();
+ 
++#ifdef	__FreeBSD__
++	std::string ostype = trim(run_command("/sbin/sysctl -e kern.ostype | awk '{ print $NF }'"));
++#else
+ 	std::string ostype = trim(run_command("/sbin/sysctl -e kernel.ostype | awk '{ print $NF }'"));
++#endif
+ 	if (ostype.empty())
+ 		ostype = trim(run_command("/sbin/sysctl -e kern.ostype | awk '{ print $NF }'"));
+ 	if (ostype.empty())
diff -Nur freeocl/.svn/pristine/53/5376b97e74341103655dc2b9298cde3de5589daa.svn-base freeocl.trunk/.svn/pristine/53/5376b97e74341103655dc2b9298cde3de5589daa.svn-base
--- freeocl/.svn/pristine/53/5376b97e74341103655dc2b9298cde3de5589daa.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/53/5376b97e74341103655dc2b9298cde3de5589daa.svn-base	2013-05-18 21:34:05.405083696 +0200
@@ -0,0 +1,37 @@
+# Created by: Oliver Hartmann <ohartman at zedat.fu-berlin.de>
+# $FreeBSD: head/devel/freeocl/Makefile 314960 2013-03-22 20:06:14Z makc $
+
+PORTNAME=	freeocl
+PORTVERSION=	0.3.6
+PORTREVISION=	2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+DISTNAME=	FreeOCL-${PORTVERSION}-src
+
+MAINTAINER=	ohartman at zedat.fu-berlin.de
+COMMENT=	Free Open Computing Language 1.1 (OpenCL) implementation for CPU
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
+		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
+
+LICENSE=	LGPL3
+
+WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
+
+CXXFLAGS+=	-I/usr/local/include -stdlib=libc++ -std=c++11
+
+USES=		cmake
+USE_LDCONFIG=	yes
+CMAKE_BUILD_TYPE=Release
+
+post-patch:
+	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
+		${WRKSRC}/CMakeLists.txt
+pre-install:
+	${MKDIR} ${PREFIX}/etc/OpenCL/vendor
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800000
+BROKEN=		this port does not compile at 7.x: "src/program.cpp:531:37: error: 'RTLD_NOLOAD' was not declared in this scope"
+.endif
+.include <bsd.port.post.mk>
diff -Nur freeocl/.svn/pristine/58/5866f1acf449d93c7a87c715b6b605c29bb22245.svn-base freeocl.trunk/.svn/pristine/58/5866f1acf449d93c7a87c715b6b605c29bb22245.svn-base
--- freeocl/.svn/pristine/58/5866f1acf449d93c7a87c715b6b605c29bb22245.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/58/5866f1acf449d93c7a87c715b6b605c29bb22245.svn-base	2013-05-18 22:02:27.329018771 +0200
@@ -0,0 +1,37 @@
+# Created by: Oliver Hartmann <ohartman at zedat.fu-berlin.de>
+# $FreeBSD: head/devel/freeocl/Makefile 314960 2013-03-22 20:06:14Z makc $
+
+PORTNAME=	freeocl
+PORTVERSION=	0.3.6
+PORTREVISION=	2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+DISTNAME=	FreeOCL-${PORTVERSION}-src
+
+MAINTAINER=	ohartman at zedat.fu-berlin.de
+COMMENT=	Free Open Computing Language 1.1 (OpenCL) implementation for CPU
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
+		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
+
+LICENSE=	LGPL3
+
+WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
+
+CXXFLAGS+=	-I/usr/local/include -stdlib=libc++ -std=c++11
+
+USES=		cmake
+USE_LDCONFIG=	yes
+CMAKE_BUILD_TYPE=Release
+
+post-patch:
+	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
+		${WRKSRC}/CMakeLists.txt
+pre-install:
+	${MKDIR} ${PREFIX}/etc/OpenCL/vendors
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800000
+BROKEN=		this port does not compile at 7.x: "src/program.cpp:531:37: error: 'RTLD_NOLOAD' was not declared in this scope"
+.endif
+.include <bsd.port.post.mk>
diff -Nur freeocl/.svn/pristine/5a/5a7f3b407e94400db60ceb1f04d9124f24c3dcc8.svn-base freeocl.trunk/.svn/pristine/5a/5a7f3b407e94400db60ceb1f04d9124f24c3dcc8.svn-base
--- freeocl/.svn/pristine/5a/5a7f3b407e94400db60ceb1f04d9124f24c3dcc8.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/5a/5a7f3b407e94400db60ceb1f04d9124f24c3dcc8.svn-base	2013-05-18 20:18:15.791455284 +0200
@@ -0,0 +1,13 @@
+--- src/icd/icd_loader.cpp.orig	2012-09-22 13:14:12.000000000 +0400
++++ src/icd/icd_loader.cpp	2012-09-22 13:15:03.000000000 +0400
+@@ -53,8 +53,8 @@ namespace FreeOCL
+ 
+ 	icd_loader::icd_loader()
+ 	{
+-		// Get the list of all *.icd files in /etc/OpenCL/vendors/
+-		const std::deque<std::string> &files = list_files("/etc/OpenCL/vendors/", ".icd");
++		// Get the list of all *.icd files in %%PREFIX%%/etc/OpenCL/vendors/
++		const std::deque<std::string> &files = list_files("%%PREFIX%%/etc/OpenCL/vendors/", ".icd");
+ 		// For each file
+ 		for(std::deque<std::string>::const_iterator i = files.begin() ; i != files.end() ; ++i)
+ 		{
diff -Nur freeocl/.svn/pristine/5b/5b277e180afe869508502dffd3ca21114f7b518a.svn-base freeocl.trunk/.svn/pristine/5b/5b277e180afe869508502dffd3ca21114f7b518a.svn-base
--- freeocl/.svn/pristine/5b/5b277e180afe869508502dffd3ca21114f7b518a.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/5b/5b277e180afe869508502dffd3ca21114f7b518a.svn-base	2013-05-18 21:22:34.246193481 +0200
@@ -0,0 +1,19 @@
+--- CMakeLists.txt.orig	2012-09-02 19:00:41.000000000 +0200
++++ CMakeLists.txt	2013-05-18 21:18:24.500230902 +0200
+@@ -69,6 +69,7 @@
+ 
+ include_directories(.)
+ include_directories(include)
++include_directories(/usr/local/include)
+ include_directories(src)
+ link_libraries(${CMAKE_THREAD_LIBS_INIT})
+ find_library(LIBDL dl)
+@@ -83,7 +84,7 @@
+ add_subdirectory(samples)
+ add_subdirectory(src)
+ 
+-install(FILES icd/freeocl.icd DESTINATION /etc/OpenCL/vendors/)
++install(FILES icd/freeocl.icd DESTINATION $CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors/)
+ # OpenCL headers shouldn't be needed in the runtime package
+ # install(DIRECTORY include/CL/ DESTINATION include/CL/ FILES_MATCHING PATTERN "*.h")
+ install(DIRECTORY include/FreeOCL/ DESTINATION include/FreeOCL/ FILES_MATCHING PATTERN "*.h")
diff -Nur freeocl/.svn/pristine/5b/5b7bfe88ef2e24be3e904773a816fbab6f7c7c38.svn-base freeocl.trunk/.svn/pristine/5b/5b7bfe88ef2e24be3e904773a816fbab6f7c7c38.svn-base
--- freeocl/.svn/pristine/5b/5b7bfe88ef2e24be3e904773a816fbab6f7c7c38.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/5b/5b7bfe88ef2e24be3e904773a816fbab6f7c7c38.svn-base	2013-05-18 21:43:36.311160766 +0200
@@ -0,0 +1,39 @@
+# Created by: Oliver Hartmann <ohartman at zedat.fu-berlin.de>
+# $FreeBSD: head/devel/freeocl/Makefile 314960 2013-03-22 20:06:14Z makc $
+
+PORTNAME=	freeocl
+PORTVERSION=	0.3.6
+PORTREVISION=	2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+DISTNAME=	FreeOCL-${PORTVERSION}-src
+
+MAINTAINER=	ohartman at zedat.fu-berlin.de
+COMMENT=	Free Open Computing Language 1.1 (OpenCL) implementation for CPU
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
+		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
+
+LICENSE=	LGPL3
+
+WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
+
+CXXFLAGS+=	-I/usr/local/include -stdlib=libc++ -std=c++11
+
+USES=		cmake
+USE_LDCONFIG=	yes
+CMAKE_BUILD_TYPE=Release
+
+post-patch:
+	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
+		${WRKSRC}/CMakeLists.txt
+pre-install:
+	${MKDIR} ${PREFIX}/etc/OpenCL/vendors
+
+post-install:
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800000
+BROKEN=		this port does not compile at 7.x: "src/program.cpp:531:37: error: 'RTLD_NOLOAD' was not declared in this scope"
+.endif
+.include <bsd.port.post.mk>
diff -Nur freeocl/.svn/pristine/70/705f6bb4e61d6de907db180fffec9953558e8616.svn-base freeocl.trunk/.svn/pristine/70/705f6bb4e61d6de907db180fffec9953558e8616.svn-base
--- freeocl/.svn/pristine/70/705f6bb4e61d6de907db180fffec9953558e8616.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/70/705f6bb4e61d6de907db180fffec9953558e8616.svn-base	2013-05-18 20:18:15.786655626 +0200
@@ -0,0 +1,33 @@
+etc/OpenCL/vendors/freeocl.icd
+include/FreeOCL/asyncmemop.h
+include/FreeOCL/atomic.h
+include/FreeOCL/common.h
+include/FreeOCL/config.h
+include/FreeOCL/converters.h
+include/FreeOCL/geometric.h
+include/FreeOCL/image1d_array_t.h
+include/FreeOCL/image1d_buffer_t.h
+include/FreeOCL/image1d_t.h
+include/FreeOCL/image2d_array_t.h
+include/FreeOCL/image2d_t.h
+include/FreeOCL/image3d_t.h
+include/FreeOCL/imgreadwrite.h
+include/FreeOCL/integer.h
+include/FreeOCL/math.h
+include/FreeOCL/memfence.h
+include/FreeOCL/opencl_c.h
+include/FreeOCL/printf.h
+include/FreeOCL/relational.h
+include/FreeOCL/simdopts.h
+include/FreeOCL/sync.h
+include/FreeOCL/vectors.h
+include/FreeOCL/vloadstore.h
+include/FreeOCL/vmisc.h
+include/FreeOCL/workitem.h
+lib/libFreeOCL.so
+lib/libOpenCL.so
+lib/libOpenCL.so.1
+lib/libOpenCL.so.1.2
+ at dirrm include/FreeOCL
+ at dirrm etc/OpenCL/vendors
+ at dirrm etc/OpenCL
diff -Nur freeocl/.svn/pristine/88/88a575673b7d32c37cb640171a8ef20c1d679185.svn-base freeocl.trunk/.svn/pristine/88/88a575673b7d32c37cb640171a8ef20c1d679185.svn-base
--- freeocl/.svn/pristine/88/88a575673b7d32c37cb640171a8ef20c1d679185.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/88/88a575673b7d32c37cb640171a8ef20c1d679185.svn-base	2013-05-18 21:26:19.190472961 +0200
@@ -0,0 +1,35 @@
+$CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors/freeocl.icd
+include/FreeOCL/asyncmemop.h
+include/FreeOCL/atomic.h
+include/FreeOCL/common.h
+include/FreeOCL/config.h
+include/FreeOCL/converters.h
+include/FreeOCL/geometric.h
+include/FreeOCL/image1d_array_t.h
+include/FreeOCL/image1d_buffer_t.h
+include/FreeOCL/image1d_t.h
+include/FreeOCL/image2d_array_t.h
+include/FreeOCL/image2d_t.h
+include/FreeOCL/image3d_t.h
+include/FreeOCL/imgreadwrite.h
+include/FreeOCL/integer.h
+include/FreeOCL/math.h
+include/FreeOCL/memfence.h
+include/FreeOCL/opencl_c.h
+include/FreeOCL/printf.h
+include/FreeOCL/relational.h
+include/FreeOCL/simdopts.h
+include/FreeOCL/sync.h
+include/FreeOCL/vectors.h
+include/FreeOCL/vloadstore.h
+include/FreeOCL/vmisc.h
+include/FreeOCL/workitem.h
+lib/libFreeOCL.so
+lib/libOpenCL.so
+lib/libOpenCL.so.1
+lib/libOpenCL.so.1
+ at dirrm include/FreeOCL
+ at dirrm $CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors
+ at dirrm $CMAKE_INSTALL_PREFIX}/etc/OpenCL
+ at dirrm $CMAKE_INSTALL_PREFIX}/etc
+ at dirrm $CMAKE_INSTALL_PREFIX}
diff -Nur freeocl/.svn/pristine/91/91898ed8d83044494f456b84f6618a0d6e58f9b7.svn-base freeocl.trunk/.svn/pristine/91/91898ed8d83044494f456b84f6618a0d6e58f9b7.svn-base
--- freeocl/.svn/pristine/91/91898ed8d83044494f456b84f6618a0d6e58f9b7.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/91/91898ed8d83044494f456b84f6618a0d6e58f9b7.svn-base	2013-05-18 20:18:15.801055647 +0200
@@ -0,0 +1,13 @@
+FreeOCL - a free OpenCL implementation for CPU
+Copyright (C) 2011  Roland Brochard
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU Lesser General Public License for more details.
+You should have received a copy of the GNU Lesser General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>
diff -Nur freeocl/.svn/pristine/99/99aba63ef765b6aebffcfecf3a4bafae69924f91.svn-base freeocl.trunk/.svn/pristine/99/99aba63ef765b6aebffcfecf3a4bafae69924f91.svn-base
--- freeocl/.svn/pristine/99/99aba63ef765b6aebffcfecf3a4bafae69924f91.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/99/99aba63ef765b6aebffcfecf3a4bafae69924f91.svn-base	2013-05-18 20:56:05.416674457 +0200
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig	2013-05-18 20:44:52.420324252 +0200
++++ CMakeLists.txt	2013-05-18 20:45:23.275944472 +0200
+@@ -69,6 +69,7 @@
+ 
+ include_directories(.)
+ include_directories(include)
++include_directories(/usr/local/include)
+ include_directories(src)
+ link_libraries(${CMAKE_THREAD_LIBS_INIT})
+ find_library(LIBDL dl)
diff -Nur freeocl/.svn/pristine/9e/9e2d3c27a464e370a2f3c7f9337e2839b361384b.svn-base freeocl.trunk/.svn/pristine/9e/9e2d3c27a464e370a2f3c7f9337e2839b361384b.svn-base
--- freeocl/.svn/pristine/9e/9e2d3c27a464e370a2f3c7f9337e2839b361384b.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/9e/9e2d3c27a464e370a2f3c7f9337e2839b361384b.svn-base	2013-05-18 20:56:05.401584584 +0200
@@ -0,0 +1,35 @@
+# Created by: Oliver Hartmann <ohartman at zedat.fu-berlin.de>
+# $FreeBSD: head/devel/freeocl/Makefile 314960 2013-03-22 20:06:14Z makc $
+
+PORTNAME=	freeocl
+PORTVERSION=	0.3.6
+PORTREVISION=	2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+DISTNAME=	FreeOCL-${PORTVERSION}-src
+
+MAINTAINER=	ohartman at zedat.fu-berlin.de
+COMMENT=	Free Open Computing Language (OpenCL) implementation for CPU
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
+		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
+
+LICENSE=	LGPL3
+
+WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
+
+CXXFLAGS+=	-I/usr/local/include -stdlib=libc++ -std=c++11
+
+USES=		cmake
+USE_LDCONFIG=	yes
+CMAKE_BUILD_TYPE=Release
+
+post-patch:
+	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
+		${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800000
+BROKEN=		this port does not compile at 7.x: "src/program.cpp:531:37: error: 'RTLD_NOLOAD' was not declared in this scope"
+.endif
+.include <bsd.port.post.mk>
diff -Nur freeocl/.svn/pristine/a4/a4dd71d255aac5f62a71e08ec726cf2d86babcbd.svn-base freeocl.trunk/.svn/pristine/a4/a4dd71d255aac5f62a71e08ec726cf2d86babcbd.svn-base
--- freeocl/.svn/pristine/a4/a4dd71d255aac5f62a71e08ec726cf2d86babcbd.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/a4/a4dd71d255aac5f62a71e08ec726cf2d86babcbd.svn-base	2013-05-18 21:36:44.002501056 +0200
@@ -0,0 +1,32 @@
+etc/OpenCL/vendors/freeocl.icd
+include/FreeOCL/asyncmemop.h
+include/FreeOCL/atomic.h
+include/FreeOCL/common.h
+include/FreeOCL/config.h
+include/FreeOCL/converters.h
+include/FreeOCL/geometric.h
+include/FreeOCL/image1d_array_t.h
+include/FreeOCL/image1d_buffer_t.h
+include/FreeOCL/image1d_t.h
+include/FreeOCL/image2d_array_t.h
+include/FreeOCL/image2d_t.h
+include/FreeOCL/image3d_t.h
+include/FreeOCL/imgreadwrite.h
+include/FreeOCL/integer.h
+include/FreeOCL/math.h
+include/FreeOCL/memfence.h
+include/FreeOCL/opencl_c.h
+include/FreeOCL/printf.h
+include/FreeOCL/relational.h
+include/FreeOCL/simdopts.h
+include/FreeOCL/sync.h
+include/FreeOCL/vectors.h
+include/FreeOCL/vloadstore.h
+include/FreeOCL/vmisc.h
+include/FreeOCL/workitem.h
+lib/libFreeOCL.so
+lib/libOpenCL.so
+lib/libOpenCL.so.1
+ at dirrm include/FreeOCL
+ at dirrm etc/OpenCL/vendors
+ at dirrm etc/OpenCL
diff -Nur freeocl/.svn/pristine/a9/a9f6c10d22c585a262292e826716bcfda5974518.svn-base freeocl.trunk/.svn/pristine/a9/a9f6c10d22c585a262292e826716bcfda5974518.svn-base
--- freeocl/.svn/pristine/a9/a9f6c10d22c585a262292e826716bcfda5974518.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/a9/a9f6c10d22c585a262292e826716bcfda5974518.svn-base	2013-05-18 20:18:15.787855940 +0200
@@ -0,0 +1,35 @@
+# Created by: Oliver Hartmann <ohartman at zedat.fu-berlin.de>
+# $FreeBSD: head/devel/freeocl/Makefile 314960 2013-03-22 20:06:14Z makc $
+
+PORTNAME=	freeocl
+PORTVERSION=	0.3.6
+PORTREVISION=	1
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+DISTNAME=	FreeOCL-${PORTVERSION}-src
+
+MAINTAINER=	ohartman at zedat.fu-berlin.de
+COMMENT=	Free Open Computing Language (OpenCL) implementation for CPU
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
+		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
+
+LICENSE=	LGPL3
+
+WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
+
+CXXFLAGS+=	-stdlib=libc++
+
+USES=		cmake
+USE_LDCONFIG=	yes
+CMAKE_BUILD_TYPE=Release
+
+post-patch:
+	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
+		${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800000
+BROKEN=		this port does not compile at 7.x: "src/program.cpp:531:37: error: 'RTLD_NOLOAD' was not declared in this scope"
+.endif
+.include <bsd.port.post.mk>
diff -Nur freeocl/.svn/pristine/d1/d1cf0d4eb0d6bc9025ef2a675933976fd9fa59d1.svn-base freeocl.trunk/.svn/pristine/d1/d1cf0d4eb0d6bc9025ef2a675933976fd9fa59d1.svn-base
--- freeocl/.svn/pristine/d1/d1cf0d4eb0d6bc9025ef2a675933976fd9fa59d1.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/d1/d1cf0d4eb0d6bc9025ef2a675933976fd9fa59d1.svn-base	2013-05-18 20:18:15.789055817 +0200
@@ -0,0 +1,2 @@
+SHA256 (FreeOCL-0.3.6-src.tar.gz) = d1eea6d6214781a67efee6b691f06407780fb51f8dd742a83324478a6cfb8f1a
+SIZE (FreeOCL-0.3.6-src.tar.gz) = 216517
diff -Nur freeocl/.svn/pristine/f0/f0b407c862f030d38c94c0f54d48f7e3fccd684e.svn-base freeocl.trunk/.svn/pristine/f0/f0b407c862f030d38c94c0f54d48f7e3fccd684e.svn-base
--- freeocl/.svn/pristine/f0/f0b407c862f030d38c94c0f54d48f7e3fccd684e.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/f0/f0b407c862f030d38c94c0f54d48f7e3fccd684e.svn-base	2013-05-18 20:18:15.791455284 +0200
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2012-09-22 12:55:02.000000000 +0400
++++ CMakeLists.txt	2012-09-22 12:55:27.000000000 +0400
+@@ -83,7 +83,7 @@ endif(LIBRT)
+ add_subdirectory(samples)
+ add_subdirectory(src)
+ 
+-install(FILES icd/freeocl.icd DESTINATION /etc/OpenCL/vendors/)
++install(FILES icd/freeocl.icd DESTINATION %%PREFIX%%/etc/OpenCL/vendors/)
+ # OpenCL headers shouldn't be needed in the runtime package
+ # install(DIRECTORY include/CL/ DESTINATION include/CL/ FILES_MATCHING PATTERN "*.h")
+ install(DIRECTORY include/FreeOCL/ DESTINATION include/FreeOCL/ FILES_MATCHING PATTERN "*.h")
diff -Nur freeocl/.svn/pristine/f6/f61f103e05858a06371f122dc68afdddb2922337.svn-base freeocl.trunk/.svn/pristine/f6/f61f103e05858a06371f122dc68afdddb2922337.svn-base
--- freeocl/.svn/pristine/f6/f61f103e05858a06371f122dc68afdddb2922337.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/f6/f61f103e05858a06371f122dc68afdddb2922337.svn-base	2013-05-18 21:43:36.294569351 +0200
@@ -0,0 +1,19 @@
+--- CMakeLists.txt.orig	2012-09-02 19:00:41.000000000 +0200
++++ CMakeLists.txt	2013-05-18 21:41:36.907149619 +0200
+@@ -69,6 +69,7 @@
+ 
+ include_directories(.)
+ include_directories(include)
++include_directories(/usr/local/include)
+ include_directories(src)
+ link_libraries(${CMAKE_THREAD_LIBS_INIT})
+ find_library(LIBDL dl)
+@@ -83,7 +84,7 @@
+ add_subdirectory(samples)
+ add_subdirectory(src)
+ 
+-install(FILES icd/freeocl.icd DESTINATION /etc/OpenCL/vendors/)
++install(FILES icd/freeocl.icd DESTINATION etc/OpenCL/vendors/)
+ # OpenCL headers shouldn't be needed in the runtime package
+ # install(DIRECTORY include/CL/ DESTINATION include/CL/ FILES_MATCHING PATTERN "*.h")
+ install(DIRECTORY include/FreeOCL/ DESTINATION include/FreeOCL/ FILES_MATCHING PATTERN "*.h")
diff -Nur freeocl/.svn/pristine/f7/f702bd2f2bda08a71ddb6503562decb337eef79d.svn-base freeocl.trunk/.svn/pristine/f7/f702bd2f2bda08a71ddb6503562decb337eef79d.svn-base
--- freeocl/.svn/pristine/f7/f702bd2f2bda08a71ddb6503562decb337eef79d.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/f7/f702bd2f2bda08a71ddb6503562decb337eef79d.svn-base	2013-05-18 20:18:15.792655754 +0200
@@ -0,0 +1,11 @@
+--- src/parser/parser.h.orig	2012-09-06 15:39:43.000000000 +0200
++++ src/parser/parser.h	2012-09-06 15:40:56.000000000 +0200
+@@ -115,7 +115,7 @@
+ 		inline std::istream &get(char &c)
+ 		{
+ 			c = 0;
+-			const bool ok = in.get(c);
++			const bool ok = !!in.get(c);
+ 			if (c == '\n')
+ 				++line;
+ 			if (!current_line.empty() && *current_line.rbegin() == '\n')
diff -Nur freeocl/.svn/pristine/f7/f796f164dbe194e88f37c4c5d5e93d0aac306e77.svn-base freeocl.trunk/.svn/pristine/f7/f796f164dbe194e88f37c4c5d5e93d0aac306e77.svn-base
--- freeocl/.svn/pristine/f7/f796f164dbe194e88f37c4c5d5e93d0aac306e77.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/f7/f796f164dbe194e88f37c4c5d5e93d0aac306e77.svn-base	2013-05-18 20:18:15.789055817 +0200
@@ -0,0 +1 @@
+FreeOCL - a free OpenCL implementation for CPU
diff -Nur freeocl/.svn/pristine/fb/fbc63731a9196fb5e197c8ef09c91761d12c9d50.svn-base freeocl.trunk/.svn/pristine/fb/fbc63731a9196fb5e197c8ef09c91761d12c9d50.svn-base
--- freeocl/.svn/pristine/fb/fbc63731a9196fb5e197c8ef09c91761d12c9d50.svn-base	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/.svn/pristine/fb/fbc63731a9196fb5e197c8ef09c91761d12c9d50.svn-base	2013-05-18 21:34:05.381023565 +0200
@@ -0,0 +1,34 @@
+$CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors/freeocl.icd
+include/FreeOCL/asyncmemop.h
+include/FreeOCL/atomic.h
+include/FreeOCL/common.h
+include/FreeOCL/config.h
+include/FreeOCL/converters.h
+include/FreeOCL/geometric.h
+include/FreeOCL/image1d_array_t.h
+include/FreeOCL/image1d_buffer_t.h
+include/FreeOCL/image1d_t.h
+include/FreeOCL/image2d_array_t.h
+include/FreeOCL/image2d_t.h
+include/FreeOCL/image3d_t.h
+include/FreeOCL/imgreadwrite.h
+include/FreeOCL/integer.h
+include/FreeOCL/math.h
+include/FreeOCL/memfence.h
+include/FreeOCL/opencl_c.h
+include/FreeOCL/printf.h
+include/FreeOCL/relational.h
+include/FreeOCL/simdopts.h
+include/FreeOCL/sync.h
+include/FreeOCL/vectors.h
+include/FreeOCL/vloadstore.h
+include/FreeOCL/vmisc.h
+include/FreeOCL/workitem.h
+lib/libFreeOCL.so
+lib/libOpenCL.so
+lib/libOpenCL.so.1
+ at dirrm include/FreeOCL
+ at dirrm $CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors
+ at dirrm $CMAKE_INSTALL_PREFIX}/etc/OpenCL
+ at dirrm $CMAKE_INSTALL_PREFIX}/etc
+ at dirrm $CMAKE_INSTALL_PREFIX}
Files freeocl/.svn/wc.db and freeocl.trunk/.svn/wc.db differ
diff -Nur freeocl/Makefile freeocl.trunk/Makefile
--- freeocl/Makefile	2013-03-23 08:47:47.601658269 +0100
+++ freeocl.trunk/Makefile	2013-05-18 22:02:21.020192115 +0200
@@ -3,13 +3,13 @@
 
 PORTNAME=	freeocl
 PORTVERSION=	0.3.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 DISTNAME=	FreeOCL-${PORTVERSION}-src
 
 MAINTAINER=	ohartman at zedat.fu-berlin.de
-COMMENT=	Free Open Computing Language (OpenCL) implementation for CPU
+COMMENT=	Free Open Computing Language 1.1 (OpenCL) implementation for CPU
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
 		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
@@ -18,7 +18,7 @@
 
 WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
 
-CXXFLAGS+=      -stdlib=libc++
+CXXFLAGS+=	-I/usr/local/include -stdlib=libc++ -std=c++11
 
 USES=		cmake
 USE_LDCONFIG=	yes
@@ -27,6 +27,8 @@
 post-patch:
 	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
 		${WRKSRC}/CMakeLists.txt
+pre-install:
+	${MKDIR} ${PREFIX}/etc/OpenCL/vendors
 
 .include <bsd.port.pre.mk>
 .if ${OSVERSION} < 800000
diff -Nur freeocl/files/off-patch-config.h.cmake freeocl.trunk/files/off-patch-config.h.cmake
--- freeocl/files/off-patch-config.h.cmake	2013-01-07 19:15:35.498554541 +0100
+++ freeocl.trunk/files/off-patch-config.h.cmake	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- config.h.cmake.orig	2012-12-24 17:56:10.000000000 +0100
-+++ config.h.cmake	2012-12-24 17:56:45.000000000 +0100
-@@ -31,7 +31,7 @@
- 
- #define FREEOCL_CXX_FLAGS_COMMON " " \
-         " -shared -fpic -pipe" /* -Wall*/ \
--		" -I./include" \
-+		" -I./include -I%%PREFIX%%/include" \
- 		" -g -O3" \
-         " -fomit-frame-pointer -ftree-vectorize -funroll-loops" \
-         " -fno-math-errno -fno-trapping-math" \
diff -Nur freeocl/files/patch-CMakeLists.txt freeocl.trunk/files/patch-CMakeLists.txt
--- freeocl/files/patch-CMakeLists.txt	2013-01-07 19:15:35.497720606 +0100
+++ freeocl.trunk/files/patch-CMakeLists.txt	2013-05-18 21:41:56.771971791 +0200
@@ -1,19 +1,19 @@
 --- CMakeLists.txt.orig	2012-09-02 19:00:41.000000000 +0200
-+++ CMakeLists.txt	2013-01-07 18:34:52.000000000 +0100
-@@ -70,6 +70,7 @@
++++ CMakeLists.txt	2013-05-18 21:41:36.907149619 +0200
+@@ -69,6 +69,7 @@
+ 
  include_directories(.)
  include_directories(include)
++include_directories(/usr/local/include)
  include_directories(src)
-+include_directories(%%PREFIX%%/include)
  link_libraries(${CMAKE_THREAD_LIBS_INIT})
  find_library(LIBDL dl)
- find_library(LIBRT rt)
 @@ -83,7 +84,7 @@
  add_subdirectory(samples)
  add_subdirectory(src)
  
 -install(FILES icd/freeocl.icd DESTINATION /etc/OpenCL/vendors/)
-+install(FILES icd/freeocl.icd DESTINATION %%PREFIX%%/etc/OpenCL/vendors/)
++install(FILES icd/freeocl.icd DESTINATION etc/OpenCL/vendors/)
  # OpenCL headers shouldn't be needed in the runtime package
  # install(DIRECTORY include/CL/ DESTINATION include/CL/ FILES_MATCHING PATTERN "*.h")
  install(DIRECTORY include/FreeOCL/ DESTINATION include/FreeOCL/ FILES_MATCHING PATTERN "*.h")
diff -Nur freeocl/files/patch-src-device.cpp freeocl.trunk/files/patch-src-device.cpp
--- freeocl/files/patch-src-device.cpp	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/files/patch-src-device.cpp	2013-05-18 20:18:15.799856131 +0200
@@ -0,0 +1,14 @@
+--- src/device.cpp.orig	2013-05-18 20:12:03.000000000 +0200
++++ src/device.cpp	2013-05-18 20:13:30.000000000 +0200
+@@ -345,7 +345,11 @@
+ 
+ 	pool = new FreeOCL::threadpool();
+ 
++#ifdef	__FreeBSD__
++	std::string ostype = trim(run_command("/sbin/sysctl -e kern.ostype | awk '{ print $NF }'"));
++#else
+ 	std::string ostype = trim(run_command("/sbin/sysctl -e kernel.ostype | awk '{ print $NF }'"));
++#endif
+ 	if (ostype.empty())
+ 		ostype = trim(run_command("/sbin/sysctl -e kern.ostype | awk '{ print $NF }'"));
+ 	if (ostype.empty())
diff -Nur freeocl/files/patch-src-icd-icd_loader.cpp freeocl.trunk/files/patch-src-icd-icd_loader.cpp
--- freeocl/files/patch-src-icd-icd_loader.cpp	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/files/patch-src-icd-icd_loader.cpp	2013-05-18 20:18:15.798655925 +0200
@@ -0,0 +1,13 @@
+--- src/icd/icd_loader.cpp.orig	2012-09-22 13:14:12.000000000 +0400
++++ src/icd/icd_loader.cpp	2012-09-22 13:15:03.000000000 +0400
+@@ -53,8 +53,8 @@ namespace FreeOCL
+ 
+ 	icd_loader::icd_loader()
+ 	{
+-		// Get the list of all *.icd files in /etc/OpenCL/vendors/
+-		const std::deque<std::string> &files = list_files("/etc/OpenCL/vendors/", ".icd");
++		// Get the list of all *.icd files in %%PREFIX%%/etc/OpenCL/vendors/
++		const std::deque<std::string> &files = list_files("%%PREFIX%%/etc/OpenCL/vendors/", ".icd");
+ 		// For each file
+ 		for(std::deque<std::string>::const_iterator i = files.begin() ; i != files.end() ; ++i)
+ 		{
diff -Nur freeocl/files/patch-src-parser-parser.h freeocl.trunk/files/patch-src-parser-parser.h
--- freeocl/files/patch-src-parser-parser.h	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/files/patch-src-parser-parser.h	2013-05-18 20:30:23.311866809 +0200
@@ -0,0 +1,11 @@
+--- src/parser/parser.h.orig	2013-05-18 20:29:20.184081422 +0200
++++ src/parser/parser.h	2013-05-18 20:29:39.327297281 +0200
+@@ -115,7 +115,7 @@
+ 		inline std::istream &get(char &c)
+ 		{
+ 			c = 0;
+-			const bool ok = in.get(c);
++			const bool ok = (bool) in.get(c);
+ 			if (c == '\n')
+ 				++line;
+ 			if (!current_line.empty() && *current_line.rbegin() == '\n')
diff -Nur freeocl/files/patch-src_icd_icd_loader.cpp freeocl.trunk/files/patch-src_icd_icd_loader.cpp
--- freeocl/files/patch-src_icd_icd_loader.cpp	2013-01-07 19:15:35.497720606 +0100
+++ freeocl.trunk/files/patch-src_icd_icd_loader.cpp	1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
---- src/icd/icd_loader.cpp.orig	2012-09-22 13:14:12.000000000 +0400
-+++ src/icd/icd_loader.cpp	2012-09-22 13:15:03.000000000 +0400
-@@ -53,8 +53,8 @@ namespace FreeOCL
- 
- 	icd_loader::icd_loader()
- 	{
--		// Get the list of all *.icd files in /etc/OpenCL/vendors/
--		const std::deque<std::string> &files = list_files("/etc/OpenCL/vendors/", ".icd");
-+		// Get the list of all *.icd files in %%PREFIX%%/etc/OpenCL/vendors/
-+		const std::deque<std::string> &files = list_files("%%PREFIX%%/etc/OpenCL/vendors/", ".icd");
- 		// For each file
- 		for(std::deque<std::string>::const_iterator i = files.begin() ; i != files.end() ; ++i)
- 		{
diff -Nur freeocl/files/patch-src_parser_parser.h freeocl.trunk/files/patch-src_parser_parser.h
--- freeocl/files/patch-src_parser_parser.h	2013-01-07 19:15:35.497720606 +0100
+++ freeocl.trunk/files/patch-src_parser_parser.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- src/parser/parser.h.orig	2012-12-24 17:42:59.000000000 +0100
-+++ src/parser/parser.h	2012-12-24 17:43:11.000000000 +0100
-@@ -115,7 +115,7 @@
- 		inline std::istream &get(char &c)
- 		{
- 			c = 0;
--			const bool ok = in.get(c);
-+			const bool ok = (bool) in.get(c);
- 			if (c == '\n')
- 				++line;
- 			if (!current_line.empty() && *current_line.rbegin() == '\n')
diff -Nur freeocl/pkg-message freeocl.trunk/pkg-message
--- freeocl/pkg-message	1970-01-01 01:00:00.000000000 +0100
+++ freeocl.trunk/pkg-message	2013-05-18 22:04:07.962995468 +0200
@@ -0,0 +1,13 @@
+FreeOCL - a free OpenCL 1.1 implementation for CPU
+Copyright (C) 2011  Roland Brochard
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU Lesser General Public License for more details.
+You should have received a copy of the GNU Lesser General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>
diff -Nur freeocl/pkg-plist freeocl.trunk/pkg-plist
--- freeocl/pkg-plist	2013-01-07 18:58:25.981064308 +0100
+++ freeocl.trunk/pkg-plist	2013-05-18 22:01:55.500481073 +0200
@@ -27,7 +27,6 @@
 lib/libFreeOCL.so
 lib/libOpenCL.so
 lib/libOpenCL.so.1
-lib/libOpenCL.so.1.2
 @dirrm include/FreeOCL
 @dirrm etc/OpenCL/vendors
 @dirrm etc/OpenCL


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list