]> git.pld-linux.org Git - packages/rpm.git/commitdiff
Fix generation of gstreamer deps
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Tue, 25 Sep 2012 21:13:11 +0000 (23:13 +0200)
committerMarcin Banasiak <marcin.banasiak@gmail.com>
Tue, 25 Sep 2012 21:13:11 +0000 (23:13 +0200)
rpm-dont-treat-gstreamer-modules-as-font.patch [new file with mode: 0644]
rpm.spec

diff --git a/rpm-dont-treat-gstreamer-modules-as-font.patch b/rpm-dont-treat-gstreamer-modules-as-font.patch
new file mode 100644 (file)
index 0000000..36c7617
--- /dev/null
@@ -0,0 +1,11 @@
+--- rpm-5.4.10/lib/rpmfc.c.old 2012-09-25 22:34:46.184039778 +0200
++++ rpm-5.4.10/lib/rpmfc.c     2012-09-25 22:35:21.947179368 +0200
+@@ -921,7 +921,7 @@ static int rpmfcSCRIPT(rpmfc fc)
+ #endif
+           xx = rpmfcHelper(fc, 'R', "ruby");
+     } else
+-    if (fc->fcolor->vals[fc->ix] & RPMFC_FONT) {
++    if ((fc->fcolor->vals[fc->ix] & RPMFC_FONT) == RPMFC_FONT) {
+        xx = rpmfcHelper(fc, 'P', "font");
+        /* XXX: currently of no use, but for the sake of consistency... */
+        xx = rpmfcHelper(fc, 'R', "font");
index ee77db915b6611b3aa76931b599672825b87c8d1..81ddcaf345e0b2f6a18204d845295575b79a46f8 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -137,6 +137,7 @@ Patch46:    %{name}-file-magic-can-be-mixed-case.patch
 Patch47:       %{name}-query-file-always-noisy.patch
 Patch48:       %{name}-verify-ghosts-broken-logic.patch
 Patch49:       %{name}-python-enable-compat-RPMSENSE.patch
+Patch50:       %{name}-dont-treat-gstreamer-modules-as-font.patch
 
 # Patches imported from Mandriva
 
@@ -812,6 +813,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch47 -p1
 %patch48 -p1
 %patch49 -p1
+%patch50 -p1
 
 %patch1000 -p1
 %patch1001 -p1
This page took 0.040739 seconds and 4 git commands to generate.