diff options
author | graysky | 2019-04-13 13:22:08 -0400 |
---|---|---|
committer | graysky | 2019-04-13 13:22:08 -0400 |
commit | ea49887c9bacab492227166c8c512a2029eab44a (patch) | |
tree | 94dbce1d3b77f266e0e2ff4a6555131dbcdb4413 | |
parent | 0082aac282f5fd051d9d16e8c3b687653bc2a5a9 (diff) | |
download | aur-ea49887c9bacab492227166c8c512a2029eab44a.tar.gz |
Update to 294b7-4
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | unfuck_makefile.patch | 13 |
3 files changed, 19 insertions, 18 deletions
@@ -1,19 +1,19 @@ # Generated by mksrcinfo v8 -# Sat Apr 13 10:18:40 UTC 2019 +# Sat Apr 13 17:22:08 UTC 2019 pkgbase = mprime pkgdesc = A GIMPS, distributed computing project client, dedicated to finding Mersenne primes. - pkgver = 298b1 - pkgrel = 1 + pkgver = 294b7 + pkgrel = 4 url = http://www.mersenne.org arch = x86_64 license = custom depends = curl - depends = hwloc>2.0.3 + depends = hwloc conflicts = mprime-bin - source = http://www.mersenne.org/ftp_root/gimps/p95v298b1.source.zip + source = http://www.mersenne.org/ftp_root/gimps/p95v294b7.source.zip source = unfuck_makefile.patch - sha256sums = 8e008d28acddcafe7b44ea9e6c6ef5b297bffddfe9969f8154bc6812d3336a11 - sha256sums = b9eb3e4009c072341df0814366ff4ba69951bf7642e9d122d0d2be383c85c9fd + sha256sums = 15682e9587af2b86647de9786f97dc8c5d7a4a679a0440f7d1d1936a48c5aa45 + sha256sums = c94417f35f988e32693f9002792cbf21da85c2345670cb377066c9b799341528 pkgname = mprime @@ -3,18 +3,18 @@ # Contributer: TryA - https://bbs.archlinux.org/viewtopic.php?id=114996 pkgname=mprime -pkgver=298b1 -pkgrel=1 +pkgver=294b7 +pkgrel=4 pkgdesc="A GIMPS, distributed computing project client, dedicated to finding Mersenne primes." arch=('x86_64') url="http://www.mersenne.org" license=('custom') -depends=('curl' 'hwloc>2.0.3') +depends=('curl' 'hwloc') conflicts=('mprime-bin') source=("http://www.mersenne.org/ftp_root/gimps/p95v${pkgver}.source.zip" unfuck_makefile.patch) -sha256sums=('8e008d28acddcafe7b44ea9e6c6ef5b297bffddfe9969f8154bc6812d3336a11' - 'b9eb3e4009c072341df0814366ff4ba69951bf7642e9d122d0d2be383c85c9fd') +sha256sums=('15682e9587af2b86647de9786f97dc8c5d7a4a679a0440f7d1d1936a48c5aa45' + 'c94417f35f988e32693f9002792cbf21da85c2345670cb377066c9b799341528') prepare () { patch -Np1 -i unfuck_makefile.patch diff --git a/unfuck_makefile.patch b/unfuck_makefile.patch index cbc57ebc4f0e..c62a20827412 100644 --- a/unfuck_makefile.patch +++ b/unfuck_makefile.patch @@ -1,13 +1,14 @@ ---- a/linux64/makefile 2019-03-26 16:57:56.000000000 -0400 -+++ b/linux64/makefile 2019-04-12 13:27:06.283044502 -0400 -@@ -20,15 +20,17 @@ +diff --git a/linux64/makefile b/linux64/makefile +index 329cb51..88acbc6 100644 +--- a/linux64/makefile ++++ b/linux64/makefile +@@ -20,15 +20,15 @@ # LFLAGS = -Wl,-M # LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic $(shell pkg-config --static --libs libhwloc) -Wl,-Bstatic $(shell pkg-config --static --libs libcurl) -lstdc++ -Wl,-Bdynamic -ldl +MPRIME_FLAGS=-I.. -I../gwnum -DX86_64 -march=x86-64 -O2 -Wno-unused-result -+ CC = gcc --CFLAGS = -I.. -I../gwnum -I/usr/local/include -DX86_64 -Wno-unused-result -O2 +-CFLAGS = -I.. -I../gwnum -I/usr/local/include -DX86_64 -O2 +CFLAGS = ${MPRIME_FLAGS} CPP = g++ @@ -15,7 +16,7 @@ +CPPFLAGS = ${MPRIME_FLAGS} LFLAGS = -Wl,-M -Wl,-L/usr/local/lib - #LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -lz -lxml2 -ldl -lgmp +-#LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -lz -lxml2 -ldl -lgmp -LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -ldl -lgmp +LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread $(shell pkg-config --libs libcurl) -lstdc++ $(shell pkg-config --static --libs hwloc) -lgmp |