From 40d2ece1df016e5e460d6512d0f43432e25039d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Wed, 18 Aug 2010 19:29:24 +0000 Subject: [PATCH] qt4: compile fix qRegisterAnimationInterpolator() is a function defined in a header. It is not declared static inline. Under certain circumstances this may cause linker errors. Make it static inline. SVN-Revision: 22707 --- Xorg/lib/qt4/patches/300-compile-fixes.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Xorg/lib/qt4/patches/300-compile-fixes.patch diff --git a/Xorg/lib/qt4/patches/300-compile-fixes.patch b/Xorg/lib/qt4/patches/300-compile-fixes.patch new file mode 100644 index 000000000..fc37917ba --- /dev/null +++ b/Xorg/lib/qt4/patches/300-compile-fixes.patch @@ -0,0 +1,14 @@ +--- + src/corelib/animation/qvariantanimation.h | 1 + + 1 file changed, 1 insertion(+) + +--- qt-everywhere-opensource-src-4.7.0-beta2.orig/src/corelib/animation/qvariantanimation.h ++++ qt-everywhere-opensource-src-4.7.0-beta2/src/corelib/animation/qvariantanimation.h +@@ -117,6 +117,7 @@ private: + }; + + template ++static inline + void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) { + QVariantAnimation::registerInterpolator(reinterpret_cast(func), qMetaTypeId()); + } -- 2.30.2