summarylogtreecommitdiffstats
path: root/reenable-libbfd-workaround.patch
diff options
context:
space:
mode:
authorJakob Gahde2016-06-06 17:35:47 +0200
committerJakob Gahde2016-06-06 17:43:26 +0200
commit9d51dce762a6df5f4e2a355fd8240f616fe2970e (patch)
tree61bf90578be209e08a747cffe57669cf46540d7a /reenable-libbfd-workaround.patch
parent189a18c2e963e201ca143c2768701d4a01f4bf34 (diff)
downloadaur-9d51dce762a6df5f4e2a355fd8240f616fe2970e.tar.gz
radium 3.9.1-1: New version, requires some patching
In order to get this version compiled, we need to apply a few patches. First, The crashreporter needs a fix to keep libbfd from complaining. This fix was already present in the source code before, but the developer recently disabled it. I already contacted him about this and he responded he'd look into it. Second, some additional components of JUCE were recently enabled in Radium that don't compile with Arch's regular GCC6, so we need to use GCC5 for that. Apart from that, we only package the Scheme files from s7 now; the sources for the interpreter are no longer included as they are unneded.
Diffstat (limited to 'reenable-libbfd-workaround.patch')
-rw-r--r--reenable-libbfd-workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/reenable-libbfd-workaround.patch b/reenable-libbfd-workaround.patch
new file mode 100644
index 000000000000..d45eeaeeb555
--- /dev/null
+++ b/reenable-libbfd-workaround.patch
@@ -0,0 +1,14 @@
+diff -aur package.pristine/crashreporter/crashreporter_posix.c package.new/crashreporter/crashreporter_posix.c
+--- package.pristine/crashreporter/crashreporter_posix.c 2016-06-05 23:57:15.720344670 +0200
++++ package.new/crashreporter/crashreporter_posix.c 2016-06-05 23:57:33.723548061 +0200
+@@ -28,8 +28,8 @@
+ #include <stdio.h>
+
+
+-//#define PACKAGE 1 // workaround for bug in libbfd
+-//#define PACKAGE_VERSION 1 // workaround for bug in libbfd
++#define PACKAGE 1 // workaround for bug in libbfd
++#define PACKAGE_VERSION 1 // workaround for bug in libbfd
+ #include "backtrace-symbols.c"
+
+ #elif defined(FOR_MACOSX)