lilo: add missing license, fix musl build

patch taken from gentoo musl

Closes: #8124 [via git-merge-pr]
This commit is contained in:
maxice8 2017-10-13 11:53:26 -03:00 committed by Michael Aldridge
parent dde025216c
commit 8ab3081fdc
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- src/lilo.c
+++ src/lilo.c
@@ -182,7 +182,6 @@ extern int has_partitions_beta(dev_t dev); /* defined in geometry.c */
printf("Without");
#endif
printf(" device-mapper\n");
- printf("\nglibc version %d.%d\n", __GLIBC__, __GLIBC_MINOR__);
printf("Kernel Headers included from %d.%d.%d\n",
LINUX_VERSION_CODE>>16,
LINUX_VERSION_CODE>>8 & 255,

View File

@ -1,7 +1,7 @@
# Template file for 'lilo'
pkgname=lilo
version=24.2
revision=1
revision=2
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
hostmakedepends="bin86"
makedepends="device-mapper-devel"
@ -40,4 +40,6 @@ do_install() {
etc/kernel.d/post-install 50-lilo
vinstall ${FILESDIR}/kernel.d/lilo.post-remove 750 \
etc/kernel.d/post-remove 50-lilo
vlicense COPYING
}