summaryrefslogtreecommitdiff
path: root/grub2
diff options
context:
space:
mode:
authorMatt Housh <jaeger@morpheus.net>2012-09-21 14:12:55 -0500
committerMatt Housh <jaeger@morpheus.net>2012-09-21 14:12:55 -0500
commitcef9d27dbce5d917d5a3c0082c4e59271f5cde0c (patch)
tree01ab1d628fbff2579426bb4797c9e8dd280ffa73 /grub2
parent71b3cd06e171349558fe3e7230bb2a24d6b05aaa (diff)
downloadopt-cef9d27dbce5d917d5a3c0082c4e59271f5cde0c.tar.gz
opt-cef9d27dbce5d917d5a3c0082c4e59271f5cde0c.tar.xz
grub2: added fix for glibc 'gets' removal and removed themes
Diffstat (limited to 'grub2')
-rw-r--r--grub2/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/grub2/Pkgfile b/grub2/Pkgfile
index ca1125ab1..229f1d7c3 100644
--- a/grub2/Pkgfile
+++ b/grub2/Pkgfile
@@ -12,6 +12,8 @@ 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
patch -i $SRC/$name-10_linux.diff util/grub.d/10_linux.in
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -20,5 +22,5 @@ build() {
--disable-grub-mount
make
make DESTDIR=$PKG install
- rm -rf $PKG/usr/share/{info,locale}
+ rm -rf $PKG/usr/share/{info,locale,grub/themes}
}

Generated by cgit