summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-10-28 09:22:11 -0400
committerB. Stack <bgstack15@gmail.com>2023-10-28 09:22:11 -0400
commitd1755824659cacdb62bf344f771e05f56a01588c (patch)
treeb119a6e3a93d0152c77f66e3dd07e56a3d2ef3d0
parentffs: fix d/control (diff)
downloadstackrpms-d1755824659cacdb62bf344f771e05f56a01588c.tar.gz
stackrpms-d1755824659cacdb62bf344f771e05f56a01588c.tar.bz2
stackrpms-d1755824659cacdb62bf344f771e05f56a01588c.zip
ffs: add wx exceptions to RealTimeSync too
-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