From: Michael Tremer Date: Sun, 21 Oct 2012 20:19:26 +0000 (+0200) Subject: patches: Add platform patches. X-Git-Tag: 0.9.24~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8cc622fa66158e02caf366faa993434cf41d28f3;p=pakfire.git patches: Add platform patches. --- diff --git a/macros/constants.macro b/macros/constants.macro index 74484ea6f..2163a8b44 100644 --- a/macros/constants.macro +++ b/macros/constants.macro @@ -11,7 +11,7 @@ DIR_SOURCE = %{BASEDIR} # By default, take all patches from the patches directory # in alphabetical order. -patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort --version-sort) +patches = %(find %{DIR_PATCHES} %{DIR_PATCHES}/%{DISTRO_ARCH} -not -type d -maxdepth 1 2>/dev/null | sort --version-sort) sources = %{thisapp}.tar.gz # Macro definitions