$OpenBSD: patch-qtbase_src_gui_image_qxbmhandler_cpp,v 1.2 2015/04/19 13:18:28 zhuk Exp $
Avoid confusing warning from linker.
--- qtbase/src/gui/image/qxbmhandler.cpp.ports.orig	Tue Feb 17 07:56:48 2015
+++ qtbase/src/gui/image/qxbmhandler.cpp	Wed Apr  8 00:38:30 2015
@@ -232,11 +232,7 @@ static bool write_xbm_image(const QImage &sourceImage,
             }
         }
     }
-#if defined(_MSC_VER) && _MSC_VER >= 1400
-    strcpy_s(p, sizeof(" };\n"), " };\n");
-#else
-    strcpy(p, " };\n");
-#endif
+    memcpy(p, " };\n", sizeof(" };\n"));
     if ((int)qstrlen(buf) != device->write(buf, qstrlen(buf))) {
         delete [] buf;
         return false;
