File oyranos-example_compile_fix.patch of Package oyranos

diff --git a/examples/xcmsevents/qcmsevents.cpp b/examples/xcmsevents/qcmsevents.cpp
index bfdab46..abd0e40 100644
--- a/examples/xcmsevents/qcmsevents.cpp
+++ b/examples/xcmsevents/qcmsevents.cpp
@@ -14,6 +14,8 @@
 #include "oyranos_alpha.h"
 #include "oyranos_i18n.h"
 
+#include <X11/Xcm/Xcm.h>
+
 QcmseDialog * dialog = 0;
 
 QcmseDialog::QcmseDialog()
@@ -118,8 +120,8 @@ void QcmseDialog::log( const char * text, int code )
   else if (XCME_MSG_DISPLAY_STATUS)
   {
     int i;
-    if(strstr(text, "atom: \""XCM_COLOR_DESKTOP"\":"))
-      sscanf( text, "atom: \""XCM_COLOR_DESKTOP"\": %d %d", &i, &pid );
+    if(strstr(text, "atom: \"" XCM_COLOR_DESKTOP "\":"))
+      sscanf( text, "atom: \"" XCM_COLOR_DESKTOP "\": %d %d", &i, &pid );
     if(pid == 0)
     {
       colour.setHsvF( 0.6, 0.4, 0.9 );
openSUSE Build Service is sponsored by