summaryrefslogtreecommitdiff
path: root/nonprism/webkit2gtk
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/webkit2gtk')
-rw-r--r--nonprism/webkit2gtk/PKGBUILD10
-rw-r--r--nonprism/webkit2gtk/isnan.patch12
2 files changed, 18 insertions, 4 deletions
diff --git a/nonprism/webkit2gtk/PKGBUILD b/nonprism/webkit2gtk/PKGBUILD
index 78a0b7c50..02406a018 100644
--- a/nonprism/webkit2gtk/PKGBUILD
+++ b/nonprism/webkit2gtk/PKGBUILD
@@ -1,10 +1,12 @@
-# $Id: PKGBUILD 258650 2016-01-27 19:32:15Z heftig $
+# $Id: PKGBUILD 264989 2016-04-15 07:33:40Z heftig $
# Maintainer (Arch): Eric Bélanger <eric@archlinux.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Luke R. <g4jc@openmailbox.org>
pkgname=webkit2gtk
-pkgver=2.10.7
+pkgver=2.12.1
pkgrel=1.nonprism1
-pkgdesc="GTK+ Web content engine library, without geolocation tracking"
+pkgdesc="GTK+ Web content engine library, without geoclue2 support"
arch=('i686' 'x86_64')
url="http://webkitgtk.org/"
license=('custom')
@@ -17,7 +19,7 @@ optdepends=('gtk2: Netscape plugin support'
'gst-libav: nonfree media decoding')
options=('!emptydirs')
source=(http://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz)
-sha256sums=('0b77abcc72a274e8f11e9d9f0f6b116dadeeb8b9d5f22b17b6604ed9ae3fe83c')
+sha256sums=('5b1a2d5227553f3cecbdb258c68b384f9235747b2c07c15afb555fe4fa6ae896')
prepare() {
mkdir build
diff --git a/nonprism/webkit2gtk/isnan.patch b/nonprism/webkit2gtk/isnan.patch
new file mode 100644
index 000000000..cafa89a0d
--- /dev/null
+++ b/nonprism/webkit2gtk/isnan.patch
@@ -0,0 +1,12 @@
+diff -u -r webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp webkitgtk-2.10.8-isnan/Source/JavaScriptCore/runtime/Options.cpp
+--- webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp 2016-03-11 09:59:07.000000000 +0100
++++ webkitgtk-2.10.8-isnan/Source/JavaScriptCore/runtime/Options.cpp 2016-03-13 13:51:55.114836547 +0100
+@@ -610,7 +610,7 @@
+ case Options::Type::unsignedType:
+ return m_entry.unsignedVal == other.m_entry.unsignedVal;
+ case Options::Type::doubleType:
+- return (m_entry.doubleVal == other.m_entry.doubleVal) || (isnan(m_entry.doubleVal) && isnan(other.m_entry.doubleVal));
++ return (m_entry.doubleVal == other.m_entry.doubleVal) || (std::isnan(m_entry.doubleVal) && std::isnan(other.m_entry.doubleVal));
+ case Options::Type::int32Type:
+ return m_entry.int32Val == other.m_entry.int32Val;
+ case Options::Type::optionRangeType: