summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--freefilesync/debian/patches/disable_wxuse_Exceptions.patch14
1 files changed, 12 insertions, 2 deletions
diff --git a/freefilesync/debian/patches/disable_wxuse_Exceptions.patch b/freefilesync/debian/patches/disable_wxuse_Exceptions.patch
index 89ea834..24d251f 100644
--- a/freefilesync/debian/patches/disable_wxuse_Exceptions.patch
+++ b/freefilesync/debian/patches/disable_wxuse_Exceptions.patch
@@ -3,8 +3,8 @@ 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
+--- a/FreeFileSync/Source/application.h
++++ b/FreeFileSync/Source/application.h
@@ -13,6 +13,8 @@
#include "config.h"
#include "return_codes.h"
@@ -14,3 +14,13 @@ Message: Disable wxUSE_EXCEPTIONS flag to fix FTBFS
namespace fff //avoid name clash with "int ffs()" for fuck's sake! (maxOS, Linux issue only: <string> internally includes <strings.h>, WTF!)
{
+--- a/FreeFileSync/Source/RealTimeSync/application.h
++++ b/FreeFileSync/Source/RealTimeSync/application.h
+@@ -9,6 +9,7 @@
+
+ #include <wx/app.h>
+
++#define wxUSE_EXCEPTIONS 0
+
+ namespace rts
+ {
bgstack15