$OpenBSD: patch-qtbase_src_gui_image_qxbmhandler_cpp,v 1.1.1.1 2014/12/08 20:33:38 zhuk Exp $
Avoid confusing warning from linker.
--- qtbase/src/gui/image/qxbmhandler.cpp.ports.orig	Tue Nov  4 17:46:54 2014
+++ qtbase/src/gui/image/qxbmhandler.cpp	Tue Nov  4 17:47:50 2014
@@ -240,11 +240,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;
