summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/disable_wxuse_Exceptions.patch
blob: 89ea8349f01250521f0679bb95ef0bd81da675b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: bgstack15
Source: Original research
Version: 13.1
Date: 2023-10-28
Message: Disable wxUSE_EXCEPTIONS flag to fix FTBFS
--- 13.1-0/FreeFileSync/Source/application.h	2023-10-28 08:12:34.776976562 -0400
+++ 13.1-1/FreeFileSync/Source/application.h	2023-10-28 08:54:26.710403937 -0400
@@ -13,6 +13,8 @@
 #include "config.h"
 #include "return_codes.h"
 
+// Zenju probably turns this flag off for Windows builds, but the Debian package for wx3.2-headers turns it on. We need to disable it here because a make invocation fails right away unless we turn this flag off.
+#define wxUSE_EXCEPTIONS 0
 
 namespace fff //avoid name clash with "int ffs()" for fuck's sake! (maxOS, Linux issue only: <string> internally includes <strings.h>, WTF!)
 {
bgstack15