depot/third_party/nixpkgs/pkgs/development/libraries/opencv/no-build-info.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

14 lines
506 B
Diff

diff -ru -x '*~' opencv-2.4.13-orig/modules/core/src/system.cpp opencv-2.4.13/modules/core/src/system.cpp
--- opencv-2.4.13-orig/modules/core/src/system.cpp 1970-01-01 01:00:01.000000000 +0100
+++ opencv-2.4.13/modules/core/src/system.cpp 2016-10-02 18:44:53.674181762 +0200
@@ -442,9 +442,7 @@
const std::string& getBuildInformation()
{
- static std::string build_info =
-#include "version_string.inc"
- ;
+ static std::string build_info = "(build info elided)";
return build_info;
}