summaryrefslogtreecommitdiff
path: root/libre/icecat/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-14 16:30:11 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-14 16:30:11 -0200
commit7947da4f499696da9d152e8d53c96c4d1947c0d7 (patch)
tree1df6f036f4895be1a2e011c46f429a55c150cd8c /libre/icecat/PKGBUILD
parent04189f3354323c6eaf9e60e5a80dc3e70c73afdb (diff)
ice{cat,weasel-libre}: fix freedom issue (remove Adobe Flash strings)
Diffstat (limited to 'libre/icecat/PKGBUILD')
-rw-r--r--libre/icecat/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index 0721a71f2..f8ac556ba 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -43,7 +43,6 @@ source=(
$pkgname-install-dir.patch
vendor.js
icecat-20.0.1-fixed-loading-icon.png
- #cairo.patch
)
md5sums=(
@@ -56,7 +55,6 @@ md5sums=(
64826fcf48816b13090042eefddbaa58
1dfa11e781950a969205e83840e9741e
6e335a517c68488941340ee1c23f97b0
- #c8552d030494443218d88792f4dbbd0f
)
prepare() {
@@ -70,8 +68,12 @@ prepare() {
fi
patch -Np1 -i $srcdir/$pkgname-install-dir.patch # install to /usr/lib/$pkgname
- patch -Np1 -i $srcdir/libre.patch # Remove Google+Mozilla stuff
- #patch -Np1 -i $srcdir/cairo.patch # fix cairo
+
+ # Patch and remove anything that's left
+ patch -Np1 -i "$srcdir/libre.patch"
+ sed -i 's|Adobe Flash|SWF Player|g;
+ ' browser/base/content/pageinfo/permissions.js \
+ browser/base/content/browser-plugins.js
# Fix for use nspr, sqlite and nss external
sed -i 's/\(MOZ_PKG_FATAL_WARNINGS =\).*/\1 0/' \