xplanet: fix license, vsed

This commit is contained in:
Colin Booth 2021-06-30 00:26:49 -07:00 committed by Đoàn Trần Công Danh
parent d744b3c689
commit 59585991d8

View file

@ -1,14 +1,14 @@
# Template file for 'xplanet' # Template file for 'xplanet'
pkgname=xplanet pkgname=xplanet
version=1.3.1 version=1.3.1
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-freetype" configure_args="--with-freetype"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="pango-devel freetype-devel giflib-devel tiff-devel libXScrnSaver-devel" makedepends="pango-devel freetype-devel giflib-devel tiff-devel libXScrnSaver-devel"
short_desc="Planetary body renderer" short_desc="Planetary body renderer"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2" license="GPL-2.0-only"
homepage="http://xplanet.sourceforge.net" homepage="http://xplanet.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=4380d570a8bf27b81fb629c97a636c1673407f4ac4989ce931720078a90aece7 checksum=4380d570a8bf27b81fb629c97a636c1673407f4ac4989ce931720078a90aece7
@ -16,5 +16,5 @@ checksum=4380d570a8bf27b81fb629c97a636c1673407f4ac4989ce931720078a90aece7
pre_configure() { pre_configure() {
# make it build with giflib-5.1.0 # make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2 # see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/[DE]GifCloseFile/s:GifFile:&, NULL:g" src/libimage/gif.c vsed -i "/[DE]GifCloseFile/s:GifFile:&, NULL:g" src/libimage/gif.c
} }