source: build-files/ports-overlay/sysutils/grub2-efi/files/patch-grub-core-gnulib-argp-fmtstream.c @ 42ca77f

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 42ca77f was 42ca77f, checked in by Kris Moore <kris@…>, 6 months ago

Add a new grub2-efi port, it depends upon the standard sysutils/grub2
port, but adds the lib/grub/x86_64-efi boot modules

  • Property mode set to 100644
File size: 390 bytes
Line 
1--- grub-core/gnulib/argp-fmtstream.c.orig
2+++ grub-core/gnulib/argp-fmtstream.c
3@@ -47,7 +47,11 @@
4 #endif
5 
6 #define INIT_BUF_SIZE 200
7+#ifdef __FreeBSD__
8+#define PRINTF_SIZE_GUESS 32767
9+#else
10 #define PRINTF_SIZE_GUESS 150
11+#endif
12 
13 /* Return an argp_fmtstream that outputs to STREAM, and which prefixes lines
14    written on it with LMARGIN spaces and limits them to RMARGIN columns
Note: See TracBrowser for help on using the repository browser.