summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Disable-ultimate-build.patch
blob: 1c5f2985ac66841e8064e9fa400bba6358a12778 (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 73de37793cc6f9268ad3334c5ff049b0b7bce5ed 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: mailed to ultracopier@first-world.info
Last-Update: 2018-02-19
---
 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