]> git.pld-linux.org Git - packages/dmd.git/commitdiff
- up to 2.072.0 master
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 2 Nov 2016 19:48:51 +0000 (20:48 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 2 Nov 2016 19:48:51 +0000 (20:48 +0100)
- updated opt patch

dmd-opt.patch
dmd.spec

index 1cacab1335f3ca7db3aa927458942bfa9d6abb21..13fcb308d4447fdc74731923a7d6266d1a264f58 100644 (file)
@@ -1,9 +1,9 @@
---- dmd2/src/dmd/posix.mak.orig        2016-03-03 11:42:12.000000000 +0100
-+++ dmd2/src/dmd/posix.mak     2016-03-13 08:59:49.245630206 +0100
-@@ -126,6 +126,7 @@
+--- dmd2/src/dmd/posix.mak.orig        2016-06-16 16:00:10.672370313 +0200
++++ dmd2/src/dmd/posix.mak     2016-06-16 16:37:01.565610862 +0200
+@@ -136,6 +136,7 @@
  
  # Default compiler flags for all source files
- CFLAGS := $(WARNINGS) \
+ CXXFLAGS := $(WARNINGS) \
 +      $(CXXOPTFLAGS) \
        -fno-exceptions -fno-rtti \
        -D__pascal= -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 \
index c7ec049b0451a2fb90d6e560e02bc27c2c763405..bb4e8498497fef8922b0433a1be578e4ca090a27 100644 (file)
--- a/dmd.spec
+++ b/dmd.spec
@@ -6,15 +6,15 @@
 Summary:       Digital Mars D compiler
 Summary(pl.UTF-8):     Digital Mars D - kompilator jÄ™zyka D
 Name:          dmd
-Version:       2.070.2
+Version:       2.072.0
 Release:       1
 # Digital Mars is proprietary license (not redistributable)
 License:       Boost v1.0 (D runtime, Phobos, tools), GPL v1+ or Artistic (frontend), Digital Mars (backend)
 Group:         Development/Languages
 Source0:       http://downloads.dlang.org/releases/2.x/%{version}/%{name}.%{version}.linux.tar.xz
-# NoSource0-md5:       309e6968abb813a654d24ba43aba832f
-Source1:       https://github.com/D-Programming-Language/tools/archive/v%{version}/d-tools-%{version}.tar.gz
-# Source1-md5: 8e664bb5b8849b373a210b6ebff27633
+# NoSource0-md5:       5928fdc2065fec9440f5d255146384ad
+Source1:       https://github.com/dlang/tools/archive/v%{version}/d-tools-%{version}.tar.gz
+# Source1-md5: 3244aab8bb1583c3c970d8a702dd5280
 Patch0:                %{name}-system-zlib.patch
 Patch1:                %{name}-opt.patch
 Patch2:                %{name}-shared.patch
@@ -131,6 +131,9 @@ install tools/generated/linux/%{model}/{ddemangle,rdmd} $RPM_BUILD_ROOT%{_bindir
 install -Dp man/man1/dmd.1 $RPM_BUILD_ROOT%{_mandir}/man1/dmd.1
 install -Dp man/man5/dmd.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/dmd.conf.5
 
+# some intermediate(?) object disliked a lot by ldconfig
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdruntime.so.a
+
 cat >$RPM_BUILD_ROOT%{_sysconfdir}/dmd.conf <<EOF
 [Environment]
 DFLAGS=-I/usr/include/d/dmd/phobos -I/usr/include/d/dmd/druntime -L-L%{_libdir} -L--no-warn-search-mismatch -L--export-dynamic
@@ -144,8 +147,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libphobos2.so.0.70.2
-%attr(755,root,root) %ghost %{_libdir}/libphobos2.so.0.70
+%attr(755,root,root) %{_libdir}/libphobos2.so.0.72.0
+%attr(755,root,root) %ghost %{_libdir}/libphobos2.so.0.72
 
 %files
 %defattr(644,root,root,755)
@@ -154,9 +157,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/dmd
 %attr(755,root,root) %{_bindir}/rdmd
 %attr(755,root,root) %{_libdir}/libphobos2.so
-%{_libdir}/libdruntime.so.a
 %{_libdir}/libdruntime.so.o
-%{_libdir}/libphobos2.so.0.70.o
+%{_libdir}/libphobos2.so.0.72.o
 %{_sysconfdir}/dmd.conf
 %dir %{_includedir}/d
 %{_includedir}/d/dmd
This page took 0.057279 seconds and 4 git commands to generate.