7474c8534e
This is based on a git checkout from a couple days ago; not completely sure about the version number. The Makefile now contains a short how-to for updating this package. Many thanks for the www/firefox60 patches! Use at your own risk! Survives basic browsing and check.torproject.org claims it connects via tor. Changes: too many to document.
16 lines
544 B
Bash
16 lines
544 B
Bash
$NetBSD: patch-modules_pdfium_update.sh,v 1.1 2019/02/25 15:32:24 wiz Exp $
|
|
|
|
--- modules/pdfium/update.sh.orig 2018-03-10 02:54:17.000000000 +0000
|
|
+++ modules/pdfium/update.sh
|
|
@@ -132,9 +132,9 @@ update_readme() {
|
|
perl -p -i -e "s/${PREFIX} [0-9A-Fa-f]+ \(.+\)/${PREFIX} ${COMMIT} (${COMMIT_DATE})/" README_MOZILLA
|
|
}
|
|
|
|
-if [ "$#" == 0 ]; then
|
|
+if [ "$#" = 0 ]; then
|
|
COMMIT_SELECTOR="master"
|
|
-elif [ "$#" == 2 -a "$1" == "--commit" ]; then
|
|
+elif [ "$#" = 2 -a "$1" = "--commit" ]; then
|
|
COMMIT_SELECTOR="$2"
|
|
else
|
|
print_help
|