diff options
Diffstat (limited to 'libre/grub/PKGBUILD')
-rw-r--r-- | libre/grub/PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD index 9b8102a4c..b94aed44c 100644 --- a/libre/grub/PKGBUILD +++ b/libre/grub/PKGBUILD @@ -34,7 +34,7 @@ sha1sums=('274d91e96b56a5b9dd0a07accff69dbb6dfb596b' '89290031b974780c6df76893836d2477d4add895' 'eb4b35b4c36b64f9405cbcbc538cb205171c1c0a' 'd5ae2efec25616028a9d89e98b6e454f1c4c415f' - '790b9bacb11281bdd43a94a6e9a87072feab42c1' + 'c631ec04d458c60a3ceffe60d2d1806d54554d9c' '06b926320cb2add6c157d59d46e553b89dd3aa03' 'fb69af1ff6c0b7fdf7ce7d42d0f048edc1a50a45' 'ce35d7ae75cd1b5b677e894e528f96add40e77b9' @@ -42,6 +42,10 @@ sha1sums=('274d91e96b56a5b9dd0a07accff69dbb6dfb596b' _build_grub-common_and_bios() { + ## fix outdated gnulib on the source + sed 's|#undef gets|#undef gets\n#if 0|' -i "${srcdir}/grub-${pkgver}/grub-core/gnulib/stdio.in.h" + sed 's|use fgets instead");|use fgets instead");\n#endif|' -i "${srcdir}/grub-${pkgver}/grub-core/gnulib/stdio.in.h" + ## copy the source for building the common/bios package cp -r "${srcdir}/grub-${pkgver}" "${srcdir}/grub_bios-${pkgver}" cd "${srcdir}/grub_bios-${pkgver}" |