mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
- Fix build with modern compilers in the contrib module [1] - Fix build of opencv-core with clang in the ts module [2] - Fix build with QT option [3] - Fix build of py-opencv with clang [4] Reported by: avg [1], Robert Huff <roberthuff@rcn.com> [2] PR: ports/182443 [3], ports/182837 [4] Submitted by: O. Hartmann <ohartman@zedat.fu-berlin.de> [3], pawel [4]
11 lines
286 B
C++
11 lines
286 B
C++
--- ./modules/highgui/src/window_QT.cpp.orig 2013-10-22 11:01:57.000000000 -0400
|
|
+++ ./modules/highgui/src/window_QT.cpp 2013-10-22 11:03:10.000000000 -0400
|
|
@@ -46,6 +46,8 @@
|
|
#ifdef _WIN32
|
|
#include <windows.h>
|
|
#define usleep Sleep
|
|
+#else
|
|
+#include <unistd.h>
|
|
#endif
|
|
|
|
#ifndef M_PI
|