Bugfix #3705: params.setRecordingHint(true) breaks camera preview on Samsung Galaxy S2
Fixes resizeWindow() on OS X (Bug #3200)
Fixes build failure on Mac OS X 10.10 Yosemite Beta due to highgui/src/window_cocoa.mm (Bug #3737)
Revert "Fixes build failure on Mac OS X 10.10 Yosemite Beta due to highgui/src/window_cocoa.mm (Bug #3737)"

This reverts commit 56683e6d112a808fbd51c74917f0c4d9d752f502.
cap_libv4l.cpp depends on both libv4l 1 and 2, so search for both

How this worked before, I do not know.
Merge pull request #2903 from mmaraya:2.4
Merge pull request #2955 from SpecLad:find-libv4l2
Build fixes for CUDA 6.5
Merge pull request #2975 from asmorkalov:ocv_cuda_6.5_fix
Merge pull request #2815 from Aletheios:Bugfix#3705