Skip to content

Commit eebe303

Browse files
committed
remove patch spkg
every system we support has a decent enough version of patch. So we just purge it, like we did with tar a while ago.
1 parent 7888c42 commit eebe303

35 files changed

+16
-111
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ in the Installation Guide.
217217
for a discussion of suitable compilers.
218218

219219
- Build tools: GNU `make`, GNU `m4`, `perl` (including
220-
`ExtUtils::MakeMaker`), `ranlib`, `git`, `tar`, `bc`.
220+
`ExtUtils::MakeMaker`), `ranlib`, `git`, `tar`, `bc`, `patch`.
221221
See [build/pkgs/_prereq/SPKG.rst](build/pkgs/_prereq/SPKG.rst) for
222222
more details.
223223

build/bin/sage-apply-patches

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ patchdir="../patches"
3131
patch_subdir=""
3232
patch_strip="-p1"
3333
patch_args_sep=""
34-
patch_args="--no-backup-if-mismatch"
34+
patch_args=""
3535

3636
while [[ $# > 0 ]]; do
3737
if [[ -z "$patch_args_sep" ]]; then

build/pkgs/_prereq/distros/alpine.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ gcc
1818
g++
1919
ca-certificates
2020
coreutils
21+
patch

build/pkgs/_prereq/distros/arch.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ bc
1717
gcc
1818
# Needed for 4ti2:
1919
which
20+
patch

build/pkgs/_prereq/distros/conda.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ perl
1414
python
1515
tar
1616
bc
17+
patch

build/pkgs/_prereq/distros/debian.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ gcc
2626
g++
2727
# Needed if we download some packages from a https upstream URL
2828
ca-certificates
29+
patch

build/pkgs/_prereq/distros/fedora.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ diffutils
3131
perl-IPC-Cmd
3232
# Needed to build gcc
3333
flex
34+
patch

build/pkgs/_prereq/distros/freebsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ automake
1616
bash
1717
dash
1818
python # python metaport for bootstrapping the build
19+
patch

build/pkgs/_prereq/distros/gentoo.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ dev-libs/libxml2
2727
sys-apps/findutils
2828
sys-apps/which
2929
sys-apps/diffutils
30+
sys-devel/patch

build/pkgs/_prereq/distros/nix.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ gnutar
1616
bc
1717
gcc
1818
bash
19+
gnupatch

0 commit comments

Comments
 (0)