midori: fix build with recent vala versions (via Arch)
This commit is contained in:
parent
e9ace3fc73
commit
7868cfb342
1 changed files with 8 additions and 0 deletions
|
@ -21,3 +21,11 @@ homepage="http://www.midori-browser.org/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="http://www.midori-browser.org/downloads/midori_${version}_all_.tar.bz2"
|
distfiles="http://www.midori-browser.org/downloads/midori_${version}_all_.tar.bz2"
|
||||||
checksum=96191a96be71144ae848a409fae5a1d6d52a00e583f33122081f47ead9c49c3d
|
checksum=96191a96be71144ae848a409fae5a1d6d52a00e583f33122081f47ead9c49c3d
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed 's/protected Tally/public Tally/g' -i midori/midori-notebook.vala
|
||||||
|
sed 's/%d other files/%u other files/g' -i extensions/transfers.vala
|
||||||
|
for f in transfers adblock/widgets apps history-list notes; do
|
||||||
|
sed 's/.remove (iter/.remove (ref iter/g' -i extensions/"${f}".vala
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue