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
This commit is contained in:
parent
e1e1901251
commit
5259642f4b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ff7ea55309d678c20524779091617aa1d4bdbaa39e1a650927020fe1627f4b0f
|
|
||||||
size 4390290
|
|
3
ldc-0.16.0-src.tar.gz
Normal file
3
ldc-0.16.0-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0a697936d7f8fe123a80d63bb76e50958d40d3ca31ccb6d558107ed67b15c74d
|
||||||
|
size 4760709
|
@ -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
|
Sun Feb 22 16:15:02 UTC 2015 - schuetzm@gmx.net
|
||||||
|
|
||||||
|
9
ldc.spec
9
ldc.spec
@ -16,13 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: ldc
|
Name: ldc
|
||||||
Version: 0.15.1
|
Version: 0.16.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: BSD-3-Clause and Artistic-1.0
|
License: BSD-3-Clause and Artistic-1.0
|
||||||
Summary: The LLVM D Compiler
|
Summary: The LLVM D Compiler
|
||||||
Url: https://github.com/ldc-developers/ldc
|
Url: https://github.com/ldc-developers/ldc
|
||||||
Group: Development/Languages/Other
|
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
|
# PATCH-FIX-OPENSUSE workaround-buggy-llvm-config.patch bnc#856691
|
||||||
Patch1: workaround-buggy-llvm-config.patch
|
Patch1: workaround-buggy-llvm-config.patch
|
||||||
BuildRequires: libconfig++-devel
|
BuildRequires: libconfig++-devel
|
||||||
@ -56,7 +56,7 @@ This package contains the Phobos development files necessary for developing
|
|||||||
with LDC.
|
with LDC.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ldc-0.15.1-src
|
%setup -q -n ldc-0.16.0-src
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -64,6 +64,7 @@ mkdir build
|
|||||||
pushd build
|
pushd build
|
||||||
cmake -DD_VERSION=2 \
|
cmake -DD_VERSION=2 \
|
||||||
-DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
|
-DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
|
||||||
|
-DCMAKE_CXX_FLAGS=-std=c++11 \
|
||||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} ..
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} ..
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
@ -76,7 +77,7 @@ popd
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE README.md
|
%doc LICENSE README.md
|
||||||
%config %{_sysconfdir}/bash_completion.d/ldc
|
%config %{_sysconfdir}/bash_completion.d/ldc2
|
||||||
%config %{_sysconfdir}/ldc2.conf
|
%config %{_sysconfdir}/ldc2.conf
|
||||||
%{_bindir}/ldc2
|
%{_bindir}/ldc2
|
||||||
%{_bindir}/ldmd2
|
%{_bindir}/ldmd2
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
--- ldc.orig/cmake/Modules/FindLLVM.cmake 2014-12-15 12:56:11.388035601 +0100
|
diff -ur ldc-0.16.0-beta2-src.orig/cmake/Modules/FindLLVM.cmake ldc-0.16.0-beta2-src/cmake/Modules/FindLLVM.cmake
|
||||||
+++ ldc/cmake/Modules/FindLLVM.cmake 2014-12-15 12:56:33.906841195 +0100
|
--- ldc-0.16.0-beta2-src.orig/cmake/Modules/FindLLVM.cmake 2015-10-10 14:45:09.000000000 +0200
|
||||||
@@ -130,6 +130,7 @@
|
+++ ldc-0.16.0-beta2-src/cmake/Modules/FindLLVM.cmake 2015-10-11 13:58:33.478728289 +0200
|
||||||
|
@@ -142,6 +142,7 @@
|
||||||
${_quiet_arg}
|
${_quiet_arg}
|
||||||
)
|
)
|
||||||
file(TO_CMAKE_PATH "${tmplibs}" tmplibs)
|
file(TO_CMAKE_PATH "${tmplibs}" tmplibs)
|
||||||
+ string(REGEX REPLACE "\\.a" ".so" tmplibs ${tmplibs})
|
+ string(REGEX REPLACE "\\.a" ".so" tmplibs ${tmplibs})
|
||||||
string(REGEX REPLACE "([$^.[|*+?()]|])" "\\\\\\1" pattern "${prefix}/")
|
|
||||||
string(REGEX MATCHALL "${pattern}[^ ]+" LLVM_${var} ${tmplibs})
|
string(REGEX MATCHALL "${pattern}[^ ]+" LLVM_${var} ${tmplibs})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user