summaryrefslogtreecommitdiff
path: root/repo/system/binutils.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 16:03:29 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 16:03:29 +0000
commit6fc3b9dc3e84abb1371424efbc8b01ccd41e27f6 (patch)
treebcd19e5d5d19536626d70c931cc2b26cadee0f50 /repo/system/binutils.xibuild
parent430d276607ead5129cc222f1f139128e9a3f9082 (diff)
changed patch to prepare
Diffstat (limited to 'repo/system/binutils.xibuild')
-rw-r--r--repo/system/binutils.xibuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild
index 7988f12..009e56f 100644
--- a/repo/system/binutils.xibuild
+++ b/repo/system/binutils.xibuild
@@ -6,9 +6,9 @@ PKG_VER=2.37
SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-$PKG_VER.tar.xz
DESC="tools for handling object files"
-patch () {
+prepare () {
curl -sSL https://www.linuxfromscratch.org/patches/lfs/development/binutils-$PKG_VER-upstream_fix-1.patch > binutils-$PKG_VER-upstream_fix-1.patch
- patch -Np1 -i binutils-$PKG_VER-upstream_fix-1.patch
+ /usr/bin/patch -Np1 -i binutils-$PKG_VER-upstream_fix-1.patch
# An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the man pages will be regenerated correctly: