[arch-commits] Commit in ldc/trunk (PKGBUILD mul.diff)

Михаил Страшун dicebot at archlinux.org
Sat Oct 24 07:50:24 UTC 2015


    Date: Saturday, October 24, 2015 @ 09:50:23
  Author: dicebot
Revision: 144857

upgpkg: ldc 1:0.16.0-1

LDC 0.16.0 release with frontend 2.067

Modified:
  ldc/trunk/PKGBUILD
Deleted:
  ldc/trunk/mul.diff

----------+
 PKGBUILD |   18 ++++--------------
 mul.diff |   40 ----------------------------------------
 2 files changed, 4 insertions(+), 54 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-24 03:30:55 UTC (rev 144856)
+++ PKGBUILD	2015-10-24 07:50:23 UTC (rev 144857)
@@ -3,22 +3,20 @@
 # Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
 pkgname=('ldc' 'liblphobos')
 groups=('dlang' 'dlang-ldc')
-pkgver=0.15.1
+pkgver=0.16.0
 epoch=1
-pkgrel=7
+pkgrel=1
 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
 arch=('i686' 'x86_64')
 url="https://github.com/ldc-developers/ldc"
 license=('BSD')
 depends=('libconfig')
-makedepends=('git' 'cmake' 'llvm35')
+makedepends=('git' 'cmake' 'llvm')
 source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}"
         "ldc2.conf"
-        "mul.diff"
        )
 sha1sums=('SKIP'
           '290689ded66a12a243666d0bac3ffb74180fa490'
-          '5a7f6c83285ab6a1ceb6ab93c68c6f2169564691'
          )
 
 build() {
@@ -26,14 +24,6 @@
 
     git submodule update --init --recursive
 
-    # workaround for https://github.com/ldc-developers/ldc/issues/813
-    if [ $CARCH != x86_64 ]
-    then
-        cd ./runtime/druntime
-        git apply $srcdir/mul.diff
-        cd $srcdir/ldc
-    fi
-
     mkdir build && cd build
     cmake \
     -DCMAKE_SKIP_RPATH=ON \
@@ -56,7 +46,7 @@
     ln -s /usr/bin/ldc $pkgdir/usr/bin/ldc2
 
     # supplementaries
-    install -D -m644 $srcdir/ldc/bash_completion.d/ldc $pkgdir/usr/share/bash-completion/completions/ldc
+    install -D -m644 $srcdir/ldc/bash_completion.d/ldc2 $pkgdir/usr/share/bash-completion/completions/ldc
 
     # licenses
     install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE    

Deleted: mul.diff
===================================================================
--- mul.diff	2015-10-24 03:30:55 UTC (rev 144856)
+++ mul.diff	2015-10-24 07:50:23 UTC (rev 144857)
@@ -1,40 +0,0 @@
-diff --git a/src/core/checkedint.d b/src/core/checkedint.d
-index 18e19bf..ccaeec3 100644
---- a/src/core/checkedint.d
-+++ b/src/core/checkedint.d
-@@ -447,7 +447,7 @@ unittest
- 
- int muls(int x, int y, ref bool overflow)
- {
--    version(LDC)
-+    version(none)
-     {
-         auto res = llvm_smul_with_overflow(x, y);
-         overflow |= res.overflow;
-@@ -485,7 +485,7 @@ unittest
- /// ditto
- long muls(long x, long y, ref bool overflow)
- {
--    version(LDC)
-+    version(none)
-     {
-         auto res = llvm_smul_with_overflow(x, y);
-         overflow |= res.overflow;
-@@ -536,7 +536,7 @@ unittest
- 
- uint mulu(uint x, uint y, ref bool overflow)
- {
--    version(LDC)
-+    version(none)
-     {
-         auto res = llvm_umul_with_overflow(x, y);
-         overflow |= res.overflow;
-@@ -574,7 +574,7 @@ unittest
- /// ditto
- ulong mulu(ulong x, ulong y, ref bool overflow)
- {
--    version(LDC)
-+    version(none)
-     {
-         auto res = llvm_umul_with_overflow(x, y);
-         overflow |= res.overflow;



More information about the arch-commits mailing list