This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree 2 files changed +4
-16
lines changed
2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 1
1
tarball =mpir-VERSION.tar.bz2
2
- sha1 =7d5a66f83acfc420dac41bda06928d2564bd0c79
3
- md5 =820a690643e2708f244eae9aac668d8a
4
- cksum =2611197091
2
+ sha1 =e677ffb80ef7a04d99c017fcc365cff2a212b7aa
3
+ md5 =f606b224589aee316d9f902b8973bf68
4
+ cksum =3791195729
Original file line number Diff line number Diff line change @@ -14,21 +14,9 @@ cd src/
14
14
# Apply patches (if any):
15
15
# ##############################################################################
16
16
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
-
29
17
echo " Applying patches to upstream sources..."
30
18
for patch in ../patches/* .patch; do
31
- patch -p1 < " $patch "
19
+ patch -p1 < " $patch " || continue
32
20
if [ $? -ne 0 ]; then
33
21
echo >&2 " Error: '$patch ' failed to apply."
34
22
exit 1
You can’t perform that action at this time.
0 commit comments