File psi-0.14-whiteboarding.patch of Package psi

Index: src/src.pro
===================================================================
--- src/src.pro.orig
+++ src/src.pro
@@ -9,7 +9,7 @@ CONFIG  += qt thread x11
 
 #CONFIG += use_crash
 CONFIG += pep
-#CONFIG += whiteboarding
+CONFIG += whiteboarding
 CONFIG += psi_plugins
 DEFINES += QT_STATICPLUGIN
 DEFINES += QT3_SUPPORT_WARNINGS
Index: src/whiteboarding/wbnewpath.cpp
===================================================================
--- src/whiteboarding/wbnewpath.cpp.orig
+++ src/whiteboarding/wbnewpath.cpp
@@ -22,6 +22,7 @@
 #include "wbnewpath.h"
 #include "../sxe/sxesession.h"
 
+#include <limits>
 #include <QGraphicsScene>
 
 WbNewPath::WbNewPath(QGraphicsScene* s, QPointF startPos, int strokeWidth, const QColor &strokeColor, const QColor &fillColor) : WbNewItem(s) {
openSUSE Build Service is sponsored by