Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5d7a2e9

Browse files
author
Jean-Pierre Flori
committed
Remove unnecessary fix for MPIR.
1 parent a564118 commit 5d7a2e9

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

build/pkgs/mpir/checksums.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=mpir-VERSION.tar.bz2
2-
sha1=7d5a66f83acfc420dac41bda06928d2564bd0c79
3-
md5=820a690643e2708f244eae9aac668d8a
4-
cksum=2611197091
2+
sha1=e677ffb80ef7a04d99c017fcc365cff2a212b7aa
3+
md5=f606b224589aee316d9f902b8973bf68
4+
cksum=3791195729

build/pkgs/mpir/spkg-install

+1-13
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,9 @@ cd src/
1414
# Apply patches (if any):
1515
###############################################################################
1616

17-
# Before applying patches, we manually move two wrongly named files,
18-
# rather than doing this with diff/patch which lacks the ability of properly
19-
# detecting filename changes. See Trac #13137.
20-
# This fix can (and will have to) be removed once integrated upstream.
21-
echo "Renaming *,asm files to *.asm..."
22-
mv mpn/x86/p6/addmul_1,asm mpn/x86/p6/addmul_1.asm &&
23-
mv mpn/x86/p6/submul_1,asm mpn/x86/p6/submul_1.asm
24-
if [ $? -ne 0 ]; then
25-
echo >&2 "Error: moving *,asm files failed."
26-
exit 1
27-
fi
28-
2917
echo "Applying patches to upstream sources..."
3018
for patch in ../patches/*.patch; do
31-
patch -p1 <"$patch"
19+
patch -p1 <"$patch" || continue
3220
if [ $? -ne 0 ]; then
3321
echo >&2 "Error: '$patch' failed to apply."
3422
exit 1

0 commit comments

Comments
 (0)