summaryrefslogtreecommitdiff
path: root/libre/iceweasel/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-08 22:27:57 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-09 00:33:38 -0300
commit894d27a5037fd862ae5ef1bb12e9a0592fcaca16 (patch)
tree3ad23c60c9d0af585ba29655f4f64c5a8a37bf56 /libre/iceweasel/PKGBUILD
parent12070c7057def201c4072450c03ff6a689c1be77 (diff)
iceweasel-1:47.0.deb1-1: updating version
Diffstat (limited to 'libre/iceweasel/PKGBUILD')
-rw-r--r--libre/iceweasel/PKGBUILD31
1 files changed, 23 insertions, 8 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 819cdfd13..1afe4cc8c 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -12,13 +12,13 @@
# Contributor: evr <evanroman at gmail>
# Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com>
-_pgo=true
+_pgo=false
# We're getting this from Debian Sid
_debname=firefox
_brandingver=45.0
_brandingrel=2
-_debver=46.0.1
+_debver=47.0
_debrel=deb1
_debrepo=http://ftp.debian.org/debian/pool/main/
_parabolarepo=https://repo.parabola.nu/other/iceweasel
@@ -28,7 +28,7 @@ _pkgname=firefox
pkgname=iceweasel
epoch=1
pkgver=$_debver.$_debrel
-pkgrel=2
+pkgrel=1
pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox."
arch=(i686 x86_64)
@@ -58,20 +58,24 @@ source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.xz"
vendor.js
no-libnotify.patch
$pkgname-gtk3-20.patch
+ mozilla-1245076.patch
+ mozilla-1245076-1.patch
enable-object-directory-paths.patch)
-sha256sums=('c9e2231711250c2c6cacc50f73b3e7c2a6bf2a24d1cc4d35504bf98beae9a7ba'
- '6827eff8d132127ffe744a3e0ee9bd30c11995aebe7d0f34044bb1aca8341069'
+sha256sums=('cf7bd313f090f3928eecb25c072e1f1d6ce4faa30361bafe3ea35f5d2746c37d'
+ 'b616532b7986d5762c62ff26264cdb90f4890933031f587100d6067f9b4556e0'
'69736106a9c96fdbca2fb82bd8fbceddf2ab87940ff42bc92cfaed716363310e'
'SKIP'
- '4e7471f993e8863ddf96cc1fa24ccdf7c2b36fea0020d8a9d0d8e5bccd605a34'
- 'd4e76536209748e976893861303004987ca0a88fc21aac05d171f1b59a1c84c6'
+ '2b46569741e6939d945a7dbee424418a2d56e5a15283fa5eee3bad50ab4d5ce7'
+ 'b6679e1fe6b25be59a25490a97d1ff7bef6ca660af928052b14fd0d8dd13175f'
'93e3001ce152e1d142619e215a9ef07dd429943b99d21726c25da9ceb31e31cd'
'56eba484179c7f498076f8dc603d8795e99dce8c6ea1da9736318c59d666bff6'
'2257dc69886bd0b72c48675a27c3a88b9cf6b598252c9e9f1c99763180684fc3'
'3aea6676f1e53a09673b6ae219d281fc28054beb6002b09973611c02f827651d'
'4ba5fd938cdce850c699963be8d53dffeba2c8c4acb32071c93e902138b93208'
'e4ebdd14096d177d264a7993dbd5df46463605ff45f783732c26d30b9caa53a7'
- '440c3e22d98ecf8c44dcedbe90bbb302da3a059e3fc3fba205d89f0eca329cbf'
+ 'f1aaf36c2f059e027fc7384c0943ccd07c6e3d58721ec7a96d5d913a106717cc'
+ '05574c7d0f259da161bcd0e2e8bc9a19401e620ff29439da935d349eebb60efa'
+ '6e7cba25c52b246da183b8309e7b56208bd991d1a7adb40063c5702a6f3722ea'
'e260e555b261aabab1e48786dd514eeea056e4402af7cfd4dfd1d32858441484')
validpgpkeys=(
'C92BAA713B8D53D3CAE63FC9E6974752F9704456' # André Silva
@@ -104,6 +108,10 @@ prepare() {
# https://bugzilla.mozilla.org/show_bug.cgi?id=1234158
patch -Np1 -i "$srcdir/$pkgname-gtk3-20.patch"
+ # GCC 6
+ patch -Np1 -i ../mozilla-1245076.patch
+ patch -Np1 -i ../mozilla-1245076-1.patch
+
# Notifications with libnotify are broken
# https://bugzilla.mozilla.org/show_bug.cgi?id=1236150
patch -Np1 -i "$srcdir/no-libnotify.patch"
@@ -136,6 +144,13 @@ build() {
# _FORTIFY_SOURCE causes configure failures
CPPFLAGS+=" -O2"
+ # Hardening
+ LDFLAGS+=" -Wl,-z,now"
+
+ # GCC 6
+ CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
+ CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
+
export PATH="$srcdir/path:$PATH"
if $_pgo; then