From 8ab3081fdcc977b37570512d53b0f8ccd1cea0a7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 13 Oct 2017 11:53:26 -0300 Subject: [PATCH] lilo: add missing license, fix musl build patch taken from gentoo musl Closes: #8124 [via git-merge-pr] --- srcpkgs/lilo/patches/remove___GLIBC__.patch | 10 ++++++++++ srcpkgs/lilo/template | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/lilo/patches/remove___GLIBC__.patch diff --git a/srcpkgs/lilo/patches/remove___GLIBC__.patch b/srcpkgs/lilo/patches/remove___GLIBC__.patch new file mode 100644 index 00000000000..4bffb96c631 --- /dev/null +++ b/srcpkgs/lilo/patches/remove___GLIBC__.patch @@ -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, diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template index 597a9c62eb8..99172925886 100644 --- a/srcpkgs/lilo/template +++ b/srcpkgs/lilo/template @@ -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 }