From 5259642f4b08877b5abd2e35991731a3cee130dd9fa0cb3454ec548e0de50932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sat, 24 Oct 2015 13:47:13 +0000 Subject: [PATCH] Accepting request 340750 from home:marc_schuetz:branches:devel:languages:D - update to 0.16.0 - based on DMD 2.067.1 OBS-URL: https://build.opensuse.org/request/show/340750 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=2 --- ldc-0.15.1-src.tar.gz | 3 --- ldc-0.16.0-src.tar.gz | 3 +++ ldc.changes | 6 ++++++ ldc.spec | 9 +++++---- workaround-buggy-llvm-config.patch | 9 +++++---- 5 files changed, 19 insertions(+), 11 deletions(-) delete mode 100644 ldc-0.15.1-src.tar.gz create mode 100644 ldc-0.16.0-src.tar.gz diff --git a/ldc-0.15.1-src.tar.gz b/ldc-0.15.1-src.tar.gz deleted file mode 100644 index c3819f7..0000000 --- a/ldc-0.15.1-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff7ea55309d678c20524779091617aa1d4bdbaa39e1a650927020fe1627f4b0f -size 4390290 diff --git a/ldc-0.16.0-src.tar.gz b/ldc-0.16.0-src.tar.gz new file mode 100644 index 0000000..1410c3f --- /dev/null +++ b/ldc-0.16.0-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a697936d7f8fe123a80d63bb76e50958d40d3ca31ccb6d558107ed67b15c74d +size 4760709 diff --git a/ldc.changes b/ldc.changes index a445f4e..19079f4 100644 --- a/ldc.changes +++ b/ldc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 24 11:29:29 UTC 2015 - schuetzm@gmx.net + +- update 0.16.0 +- based on DMD 2.067.1 + ------------------------------------------------------------------- Sun Feb 22 16:15:02 UTC 2015 - schuetzm@gmx.net diff --git a/ldc.spec b/ldc.spec index a8caa89..81a7f32 100644 --- a/ldc.spec +++ b/ldc.spec @@ -16,13 +16,13 @@ # Name: ldc -Version: 0.15.1 +Version: 0.16.0 Release: 0 License: BSD-3-Clause and Artistic-1.0 Summary: The LLVM D Compiler Url: https://github.com/ldc-developers/ldc Group: Development/Languages/Other -Source0: ldc-0.15.1-src.tar.gz +Source0: ldc-0.16.0-src.tar.gz # PATCH-FIX-OPENSUSE workaround-buggy-llvm-config.patch bnc#856691 Patch1: workaround-buggy-llvm-config.patch BuildRequires: libconfig++-devel @@ -56,7 +56,7 @@ This package contains the Phobos development files necessary for developing with LDC. %prep -%setup -q -n ldc-0.15.1-src +%setup -q -n ldc-0.16.0-src %patch1 -p1 %build @@ -64,6 +64,7 @@ mkdir build pushd build cmake -DD_VERSION=2 \ -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \ + -DCMAKE_CXX_FLAGS=-std=c++11 \ -DCMAKE_INSTALL_PREFIX=%{_prefix} .. make %{?_smp_mflags} popd @@ -76,7 +77,7 @@ popd %files %defattr(-,root,root) %doc LICENSE README.md -%config %{_sysconfdir}/bash_completion.d/ldc +%config %{_sysconfdir}/bash_completion.d/ldc2 %config %{_sysconfdir}/ldc2.conf %{_bindir}/ldc2 %{_bindir}/ldmd2 diff --git a/workaround-buggy-llvm-config.patch b/workaround-buggy-llvm-config.patch index 8f2f89f..a50ac5d 100644 --- a/workaround-buggy-llvm-config.patch +++ b/workaround-buggy-llvm-config.patch @@ -1,10 +1,11 @@ ---- ldc.orig/cmake/Modules/FindLLVM.cmake 2014-12-15 12:56:11.388035601 +0100 -+++ ldc/cmake/Modules/FindLLVM.cmake 2014-12-15 12:56:33.906841195 +0100 -@@ -130,6 +130,7 @@ +diff -ur ldc-0.16.0-beta2-src.orig/cmake/Modules/FindLLVM.cmake ldc-0.16.0-beta2-src/cmake/Modules/FindLLVM.cmake +--- ldc-0.16.0-beta2-src.orig/cmake/Modules/FindLLVM.cmake 2015-10-10 14:45:09.000000000 +0200 ++++ ldc-0.16.0-beta2-src/cmake/Modules/FindLLVM.cmake 2015-10-11 13:58:33.478728289 +0200 +@@ -142,6 +142,7 @@ ${_quiet_arg} ) file(TO_CMAKE_PATH "${tmplibs}" tmplibs) + string(REGEX REPLACE "\\.a" ".so" tmplibs ${tmplibs}) - string(REGEX REPLACE "([$^.[|*+?()]|])" "\\\\\\1" pattern "${prefix}/") string(REGEX MATCHALL "${pattern}[^ ]+" LLVM_${var} ${tmplibs}) endmacro() +