summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorneeshy2019-06-21 13:28:02 -0400
committerneeshy2019-06-21 13:28:02 -0400
commit61efa37f2fc703b64395d365df1d9ddb46e40dcb (patch)
tree6ba516a94ef302c8994d9f91c4d4ad5712fea452
parentce92a2f1648f2b636dfba70d91db1b0378eb9176 (diff)
downloadaur-61efa37f2fc703b64395d365df1d9ddb46e40dcb.tar.gz
basilisk: add patch for build failures
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
-rw-r--r--xpconnect-disable-Werror.patch8
3 files changed, 14 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 53ee93edeb3..8dcf33d9473 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -37,8 +37,10 @@ pkgbase = basilisk
options = !emptydirs
source = https://github.com/MoonchildProductions/UXP/archive/v2019.06.08.tar.gz
source = https://github.com/MoonchildProductions/UXP/commit/9ded0778ee548fd8837bb35bdb5617cae0a791d1.patch
+ source = xpconnect-disable-Werror.patch
sha256sums = ff0c6e093fbab2ecd86fc36d2e4ee9d95d2645e3906c7450ba4876b3bbff3e44
sha256sums = 159d14773306b7e07dc3480c4ad4694e52406fb71b15e3ef53a9096749d9dd42
+ sha256sums = eadadb6bbd3a223c51f2e709e623146a367b898861c62df1291bcfe01c897485
pkgname = basilisk
diff --git a/PKGBUILD b/PKGBUILD
index 579a82b1081..490ed60b751 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,9 +11,11 @@ depends=('gtk2' 'libxt' 'mime-types' 'alsa-lib' 'ffmpeg' 'libvpx' 'libevent'
makedepends=('unzip' 'zip' 'python2' 'yasm' 'mesa' 'autoconf2.13')
options=('!emptydirs')
source=("https://github.com/MoonchildProductions/UXP/archive/v$pkgver.tar.gz"
- "https://github.com/MoonchildProductions/UXP/commit/9ded0778ee548fd8837bb35bdb5617cae0a791d1.patch")
+ "https://github.com/MoonchildProductions/UXP/commit/9ded0778ee548fd8837bb35bdb5617cae0a791d1.patch"
+ "xpconnect-disable-Werror.patch")
sha256sums=('ff0c6e093fbab2ecd86fc36d2e4ee9d95d2645e3906c7450ba4876b3bbff3e44'
- '159d14773306b7e07dc3480c4ad4694e52406fb71b15e3ef53a9096749d9dd42')
+ '159d14773306b7e07dc3480c4ad4694e52406fb71b15e3ef53a9096749d9dd42'
+ 'eadadb6bbd3a223c51f2e709e623146a367b898861c62df1291bcfe01c897485')
prepare() {
cd "$srcdir/UXP-$pkgver"
diff --git a/xpconnect-disable-Werror.patch b/xpconnect-disable-Werror.patch
new file mode 100644
index 00000000000..71da7c14fee
--- /dev/null
+++ b/xpconnect-disable-Werror.patch
@@ -0,0 +1,8 @@
+--- a/js/xpconnect/src/moz.build
++++ b/js/xpconnect/src/moz.build
+@@ -67,4 +67,4 @@ LOCAL_INCLUDES += [
+ ]
+
+ if CONFIG['GNU_CXX']:
+- CXXFLAGS += ['-Wno-shadow', '-Werror=format']
++ CXXFLAGS += ['-Wno-shadow']