nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch
2022-03-21 14:13:20 +01:00

16 lines
365 B
Diff

diff --git a/YUViewLib/src/common/Typedef.h b/YUViewLib/src/common/Typedef.h
--- a/YUViewLib/src/common/Typedef.h
+++ b/YUViewLib/src/common/Typedef.h
@@ -212,12 +212,7 @@ private:
#define YUVIEW_VERSION "Unknown"
#endif
-#ifndef YUVIEW_HASH
#define VERSION_CHECK 0
-#define YUVIEW_HASH 0
-#else
-#define VERSION_CHECK 1
-#endif
#define MAX_RECENT_FILES 10