about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch')
-rw-r--r--nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch b/nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch
new file mode 100644
index 000000000000..c13cb9e9b5bd
--- /dev/null
+++ b/nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch
@@ -0,0 +1,15 @@
+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