]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pakfire/patches/0009-Sort-patches-by-their-version-number.patch
a8756fc33a17b342772482588f98f57df4bfb601
[people/ms/ipfire-3.x.git] / pakfire / patches / 0009-Sort-patches-by-their-version-number.patch
1 commit 2d1d622ac9859c90363076aa2f44edf1efe53597
2 Author: Michael Tremer <michael.tremer@ipfire.org>
3 Date: Tue Jun 26 19:32:11 2012 +0200
4
5 Sort patches by their version number (not in alphabetical order).
6
7 diff --git a/macros/constants.macro b/macros/constants.macro
8 index 07459a3..74484ea 100644
9 --- a/macros/constants.macro
10 +++ b/macros/constants.macro
11 @@ -11,7 +11,7 @@ DIR_SOURCE = %{BASEDIR}
12
13 # By default, take all patches from the patches directory
14 # in alphabetical order.
15 -patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort)
16 +patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort --version-sort)
17 sources = %{thisapp}.tar.gz
18
19 # Macro definitions