[arch-commits] Commit in meataxe/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Sep 15 21:59:17 UTC 2017


    Date: Friday, September 15, 2017 @ 21:59:16
  Author: arojas
Revision: 257735

Revert unintended changes

Modified:
  meataxe/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-15 21:56:38 UTC (rev 257734)
+++ PKGBUILD	2017-09-15 21:59:16 UTC (rev 257735)
@@ -12,7 +12,7 @@
 #source=("http://www.math.rwth-aachen.de/~MTX/$pkgname-$pkgver.tar.gz")
 source=("http://mirrors.mit.edu/sage/spkg/upstream/meataxe/meataxe-$pkgver.tar.gz"
 	"https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/IO_fixes.patch"
-	"StrassenWinogradImplementation.patch"
+	"https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradImplementation.patch"
 	"https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradUsage.patch"
 	"https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/TweakEchelon.patch"
 	"https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch"
@@ -26,25 +26,21 @@
             'aa05e4b235c078ce1d7807ae7320986f56fa6e38033c21328ac298a6e44df411')
 
 prepare() {
-  sed -e 's|#ifdef ASM_MMX|#if 0|g' -i StrassenWinogradImplementation.patch # workaround segfaults
-
   cd $pkgname-$pkgver
-#  for _patch in IO_fixes StrassenWinogradImplementation; do
   for _patch in IO_fixes StrassenWinogradImplementation StrassenWinogradUsage TweakEchelon UseErrorPropagation; do
    patch -p1 -i ../$_patch.patch
   done
-  patch -p0 -i ../meataxe-shared.patch # build shared lib
-  cp src/kernel-{0,1}.c
+  patch -p0 -i ../meataxe-shared.patch # build shared lib (Fedora)
 }
 
 build() {
   cd $pkgname-$pkgver
 
-  export ZZZ=1
+  export ZZZ=0
   export MTXLIB="$HOME/.local/share/meataxe"
   export MTXBIN=/usr/bin
   touch Makefile.conf
-  make LFLAGS1="$LDFLAGS" CFLAGS1="$CFLAGS" -j1
+  make LFLAGS1="$LDFLAGS" CFLAGS1="$CFLAGS"
 }
 
 package() {



More information about the arch-commits mailing list