ports/opt (3.1): grub2: added a tweak for ftsynth.h location
commit a01b29be64347fe18f027bb80107e17c0b739c4b Author: Matt Housh <jaeger@crux.nu> Date: Thu Aug 28 14:30:27 2014 -0500 grub2: added a tweak for ftsynth.h location diff --git a/grub2/Pkgfile b/grub2/Pkgfile index 4e178c4..c2b0f58 100644 --- a/grub2/Pkgfile +++ b/grub2/Pkgfile @@ -1,7 +1,7 @@ # Description: A Multiboot boot loader # URL: http://www.gnu.org/software/grub/ # Maintainer: Matt Housh, jaeger at morpheus dot net -# Depends on: libdevmapper, freetype +# Depends on: libdevmapper freetype name=grub2 version=2.00 @@ -13,9 +13,15 @@ source=(ftp://ftp.gnu.org/gnu/grub/grub-$version.tar.xz \ build() { export CFLAGS="${CFLAGS} -Wno-error" cd grub-$version + # fix for glibc 'gets' removal sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h + + # fix for ftsynth.h path + sed -i -e 's|freetype/ftsynth.h|freetype2/ftsynth.h|' util/grub-mkfont.c + patch -i $SRC/$name-10_linux.diff util/grub.d/10_linux.in + ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-device-mapper \
participants (1)
-
crux@crux.nu