[qt-gstreamer] s|glib/gmacros.h|glib.h|g

nucleo nucleo at fedoraproject.org
Mon Jan 16 00:39:15 UTC 2012


commit 5d2ec81785687f35a01ebb7e1ba897fc173b090e
Author: nucleo <nucleo at fedoraproject.org>
Date:   Mon Jan 16 02:39:05 2012 +0200

    s|glib/gmacros.h|glib.h|g

 qt-gstreamer.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/qt-gstreamer.spec b/qt-gstreamer.spec
index f6e439f..8136ef3 100644
--- a/qt-gstreamer.spec
+++ b/qt-gstreamer.spec
@@ -44,6 +44,11 @@ for %{name}.
 %patch0 -p1
 %patch1 -p1
 
+# fix "Only <glib.h> can be included directly."
+%if 0%{?fedora} > 16
+sed -i 's|glib/gerror.h|glib.h|g' src/QGlib/error.cpp
+%endif
+
 %build
 mkdir -p %{_target_platform}
 pushd %{_target_platform}


More information about the scm-commits mailing list