Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2016-07-15 12:51:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and      /work/SRC/openSUSE:Factory/.pocl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pocl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pocl/pocl.changes        2016-04-08 
09:39:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2016-07-15 
12:52:02.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jul  4 15:04:04 UTC 2016 - mar...@gmx.de
+
+- Add patch: 0001-Fixes-357-broken-build-with-GCC-6.1.patch
+  * Fix build with GCC 6.x
+
+-------------------------------------------------------------------

New:
----
  0001-Fixes-357-broken-build-with-GCC-6.1.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pocl.spec ++++++
--- /var/tmp/diff_new_pack.Om6j9n/_old  2016-07-15 12:52:03.000000000 +0200
+++ /var/tmp/diff_new_pack.Om6j9n/_new  2016-07-15 12:52:03.000000000 +0200
@@ -29,6 +29,7 @@
 Url:            http://portablecl.org/
 Source0:        http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:       pocl-rpmlintrc
+Patch0:         0001-Fixes-357-broken-build-with-GCC-6.1.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Only armv7l is supported
 # PPC support is currently broken, due to path problems
@@ -38,10 +39,10 @@
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  libtool
 BuildRequires:  libtool-ltdl-devel
-BuildRequires:  llvm >= 3.3
-BuildRequires:  llvm-clang >= 3.3
-BuildRequires:  llvm-clang-devel >= 3.3
-BuildRequires:  llvm-devel >= 3.3
+BuildRequires:  llvm > 3.5
+BuildRequires:  llvm-clang > 3.5
+BuildRequires:  llvm-clang-devel > 3.5
+BuildRequires:  llvm-devel > 3.5
 BuildRequires:  ncurses-devel
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
@@ -50,7 +51,7 @@
 BuildRequires:  pkgconfig(hwloc)
 #BuildRequires:        vecmath-devel
 Requires:       libstdc++-devel
-Requires:       llvm-clang >= 3.3
+Requires:       llvm-clang > 3.5
 Requires:       uthash
 
 %description
@@ -87,6 +88,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 mkdir build

++++++ 0001-Fixes-357-broken-build-with-GCC-6.1.patch ++++++
diff --git a/cmake/bitcode_rules.cmake b/cmake/bitcode_rules.cmake
index dd6853b..708ba24 100644
--- a/cmake/bitcode_rules.cmake
+++ b/cmake/bitcode_rules.cmake
@@ -62,7 +62,7 @@ function(compile_cc_to_bc FILENAME SUBDIR BC_FILE_LIST)
         DEPENDS "${FULL_F_PATH}"
           ${KERNEL_DEPEND_HEADERS}
         COMMAND  "${CLANGXX}" ${CLANG_FLAGS} ${KERNEL_CLANGXX_FLAGS}
-        ${DEVICE_CL_FLAGS} "-o" "${BC_FILE}" "-c" "${FULL_F_PATH}"
+        ${DEVICE_CL_FLAGS} "-std=c++11" "-o" "${BC_FILE}" "-c" "${FULL_F_PATH}"
         COMMENT "Building C++ to LLVM bitcode ${BC_FILE}" 
         VERBATIM)
 endfunction()
diff --git a/lib/kernel/rules.mk b/lib/kernel/rules.mk
index 27bc9d4..aa9912c 100644
--- a/lib/kernel/rules.mk
+++ b/lib/kernel/rules.mk
@@ -74,7 +74,7 @@ _kernel.h.pch: @top_builddir@/include/${TARGET_DIR}/types.h 
@top_srcdir@/include
        @CLANG@ ${CLANG_FLAGS} ${CLFLAGS} ${DEVICE_CL_FLAGS} -D__CBUILD__ -c -o 
$@ -include ${abs_top_srcdir}/include/_kernel_c.h $<
 %.cc.bc: %.cc  ${LKERNEL_HDRS_EXTRA}
        mkdir -p ${dir $@}
-       @CLANGXX@ ${CLANG_FLAGS} ${CLANGXX_FLAGS} ${DEVICE_CL_FLAGS} -c -o $@ $<
+       @CLANGXX@ -std=c++11 ${CLANG_FLAGS} ${CLANGXX_FLAGS} ${DEVICE_CL_FLAGS} 
-c -o $@ $<
 %.cl.bc: %.cl ${abs_top_srcdir}/include/_kernel.h 
${abs_top_srcdir}/include/_kernel_c.h ${abs_top_srcdir}/include/pocl_types.h 
${LKERNEL_HDRS_EXTRA}
        mkdir -p ${dir $@}
        @CLANG@ ${CLANG_FLAGS} -x cl ${CLFLAGS} ${DEVICE_CL_FLAGS} 
-fsigned-char -c -o $@ $< -include ${abs_top_srcdir}/include/_kernel.h

Reply via email to