From e7ed09f0f0db1704d709e8929e96129f8fe110b7 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sat, 28 Oct 2023 08:57:41 -0400 Subject: ffs 13.1 dpkg rc1 --- .../debian/patches/disable_wxuse_Exceptions.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 freefilesync/debian/patches/disable_wxuse_Exceptions.patch (limited to 'freefilesync/debian/patches/disable_wxuse_Exceptions.patch') diff --git a/freefilesync/debian/patches/disable_wxuse_Exceptions.patch b/freefilesync/debian/patches/disable_wxuse_Exceptions.patch new file mode 100644 index 0000000..89ea834 --- /dev/null +++ b/freefilesync/debian/patches/disable_wxuse_Exceptions.patch @@ -0,0 +1,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: internally includes , WTF!) + { -- cgit