summaryrefslogtreecommitdiff
path: root/sysutils/grub2/files/patch-grub-core-gnulib-argp-fmtstream.c
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-08-03 19:02:27 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-08-03 19:02:27 +0000
commit0e7d58890a3b6c41d32dc33f4dbb97460469c026 (patch)
tree637cd266f5e064b240cf7726cf49ca52344f0c59 /sysutils/grub2/files/patch-grub-core-gnulib-argp-fmtstream.c
parentUpdate lang/pypy to 2.1. (diff)
- Update to 2.00 . [1]
- Add kfreebsd >= 9.1 fix to boot a kernel directly w/o chainloading [2] - see also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699002 - Add zfs support including zfs feature flags, see: [3] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-boot/grub/files/grub-2.00-zfs-feature-flag-support-r1.patch - Add FUSE support and knob. - Switch to USES=gmake . - Add LICENSE. - Fix build on head. - Mark MAKE_JOBS_UNSAFE: https://redports.org/~nox/20130803161801-34924-135687/grub2-2.00_1.log - Misc. other changes. - This version is now used successfully by the PCBSD folks so I thought it's finally time to commit it. :) PR: ports/170417 [1] Submitted by: Norihiko Murase <mur1080224@inter7.jp> [1] (original version of the update) Submitted by: Christian Mangin <christian.mangin@gmail.com> [1] Submitted by: Richard Yao <ryao@gentoo.org> [1] (additional contributors to the PR) Obtained from: grub2 upstream [2] Obtained from: gentoo [3]
Diffstat (limited to 'sysutils/grub2/files/patch-grub-core-gnulib-argp-fmtstream.c')
-rw-r--r--sysutils/grub2/files/patch-grub-core-gnulib-argp-fmtstream.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/grub2/files/patch-grub-core-gnulib-argp-fmtstream.c b/sysutils/grub2/files/patch-grub-core-gnulib-argp-fmtstream.c
new file mode 100644
index 000000000000..eef0392ba099
--- /dev/null
+++ b/sysutils/grub2/files/patch-grub-core-gnulib-argp-fmtstream.c
@@ -0,0 +1,14 @@
+--- grub-core/gnulib/argp-fmtstream.c.orig
++++ grub-core/gnulib/argp-fmtstream.c
+@@ -47,7 +47,11 @@
+ #endif
+
+ #define INIT_BUF_SIZE 200
++#ifdef __FreeBSD__
++#define PRINTF_SIZE_GUESS 32767
++#else
+ #define PRINTF_SIZE_GUESS 150
++#endif
+
+ /* Return an argp_fmtstream that outputs to STREAM, and which prefixes lines
+ written on it with LMARGIN spaces and limits them to RMARGIN columns