[Buildroot] patch: packages/mpfr fails to build
Hamish Moffatt
hamish at cloud.net.au
Mon Oct 15 02:04:50 UTC 2007
The mpfr package now fails to build due to the odd format of the upstream
mpfr patches file. Upstream recommends using "patch -p1 -N -Z", so here
is a patch to make buildroot do this.
thanks
Hamish
Index: package/mpfr/mpfr.mk
===================================================================
--- package/mpfr/mpfr.mk (revision 20217)
+++ package/mpfr/mpfr.mk (working copy)
@@ -42,7 +42,7 @@
toolchain/patch-kernel.sh $(MPFR_DIR) package/mpfr/ \*.patch
$(CONFIG_UPDATE) $(MPFR_DIR)
ifneq ($(MPFR_PATCH),)
- ( cd $(MPFR_DIR); patch -p1 < $(DL_DIR)/$(MPFR_PATCH_FILE); )
+ ( cd $(MPFR_DIR); patch -p1 -N -Z < $(DL_DIR)/$(MPFR_PATCH_FILE); )
endif
touch $@
--
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>
More information about the buildroot
mailing list