libdom: update to 0.4.2.

also, sed -> vsed
This commit is contained in:
Mat Boehlke 2024-01-01 21:54:16 -06:00 committed by cinerea0
parent 96c9d66893
commit 559d4a05ac
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'libdom'
pkgname=libdom
version=0.4.1
version=0.4.2
revision=1
hostmakedepends="pkg-config perl netsurf-buildsystem"
makedepends="expat-devel libparserutils-devel libwapcaplet-devel libhubbub-devel"
@ -9,10 +9,10 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.netsurf-browser.org"
distfiles="https://download.netsurf-browser.org/libs/releases/libdom-${version}-src.tar.gz"
checksum=98ee072471e55e208c9878e515c410ad462ca36f87b4afcbecad023f3a2cef4a
checksum=d05e45af16547014c2b0a3aecf3670fa13d419f505b3f5fc7ac8a1491fc30f3c
post_extract() {
sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' Makefile
vsed -i Makefile -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/g'
}
do_build() {