]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
pakfire: Add platform patches.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Oct 2012 20:22:36 +0000 (22:22 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Oct 2012 20:22:36 +0000 (22:22 +0200)
pakfire/pakfire.nm
pakfire/patches/0009-patches-Add-platform-patches.patch [new file with mode: 0644]

index 501e9cc931d302edc2d7759651bfa123e198f1ed..083c846073aac0ee2a3fe7016772382934bb9135 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = pakfire
 version    = 0.9.23
-release    = 4
+release    = 5
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = System/Packaging
diff --git a/pakfire/patches/0009-patches-Add-platform-patches.patch b/pakfire/patches/0009-patches-Add-platform-patches.patch
new file mode 100644 (file)
index 0000000..eb2e600
--- /dev/null
@@ -0,0 +1,25 @@
+From 8cc622fa66158e02caf366faa993434cf41d28f3 Mon Sep 17 00:00:00 2001
+From: Michael Tremer <michael.tremer@ipfire.org>
+Date: Sun, 21 Oct 2012 22:19:26 +0200
+Subject: [PATCH] patches: Add platform patches.
+
+---
+ macros/constants.macro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/macros/constants.macro b/macros/constants.macro
+index 74484ea..2163a8b 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
+-- 
+1.7.11.7
+