* Patch needs a toolchain with WCHAR support
* Use real upstream gnu mirror
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
config BR2_PACKAGE_PATCH
bool "patch"
+ depends on BR2_USE_WCHAR
help
Take patch files (containing difference listings) and apply them
to original files, producing patched versions.
http://www.gnu.org/software/patch/
+
+comment "patch needs a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
# patch
#
#############################################################
-PATCH_VERSION:=2.6
-PATCH_SOURCE:=patch_$(PATCH_VERSION).orig.tar.gz
-PATCH_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/p/patch
+
+PATCH_VERSION = 2.6
+PATCH_SITE = $(BR2_GNU_MIRROR)/patch
$(eval $(call AUTOTARGETS,package,patch))