summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Disable-ultimate-build.patch
blob: 38b31a57ad275ee65ffab8bd92a2b13054841565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From a5d2d6e383311c3d63cdade00dbd06e348c01e8f Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <robotux@celest.fr>
Date: Fri, 16 Feb 2018 23:09:42 +0000
Subject: Disable ultimate build

Due to the definition of the ULTRACOPIER_VERSION_ULTIMATE macro in various
header files, the build produce an ultracopier ultimate and this cannot
be overridden in the build system. This patch comments out the macro,
which can then be set from the qmake invocation.

Author: Thomas Preud'homme <robotux@debian.org>
Forwarded: no
Last-Update: 2018-02-18
---
 Variable.h                       | 2 +-
 plugins/Themes/Oxygen/Variable.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Variable.h b/Variable.h
index 66a41c2..3ccb5c1 100644
--- a/Variable.h
+++ b/Variable.h
@@ -19,7 +19,7 @@
 ////#define ULTRACOPIER_VERSION_PORTABLE
 ////#define ULTRACOPIER_VERSION_PORTABLEAPPS
 // define if the version is ultimate, need change only the name in the code
-#define ULTRACOPIER_VERSION_ULTIMATE
+//#define ULTRACOPIER_VERSION_ULTIMATE
 //#define ULTRACOPIER_PLUGIN_ALL_IN_ONE
 //#define ULTRACOPIER_CGMINER
 //#define ULTRACOPIER_ILLEGAL
diff --git a/plugins/Themes/Oxygen/Variable.h b/plugins/Themes/Oxygen/Variable.h
index 8b6119b..660346f 100644
--- a/plugins/Themes/Oxygen/Variable.h
+++ b/plugins/Themes/Oxygen/Variable.h
@@ -10,7 +10,7 @@
 //Un-comment this next line to put ultracopier plugin in debug mode
 #define ULTRACOPIER_PLUGIN_DEBUG
 
-#define ULTRACOPIER_VERSION_ULTIMATE
+//#define ULTRACOPIER_VERSION_ULTIMATE
 
 #endif // VARIABLE_H