aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gdisk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gdisk')
-rw-r--r--sysutils/gdisk/files/patch-gptcurses.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/gdisk/files/patch-gptcurses.cc b/sysutils/gdisk/files/patch-gptcurses.cc
new file mode 100644
index 000000000000..f773fed545b7
--- /dev/null
+++ b/sysutils/gdisk/files/patch-gptcurses.cc
@@ -0,0 +1,11 @@
+--- gptcurses.cc.orig 2020-02-17 22:34:11 UTC
++++ gptcurses.cc
+@@ -23,7 +23,7 @@
+ #include <iostream>
+ #include <string>
+ #include <sstream>
+-#ifdef __APPLE__
++#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
+ #include <ncurses.h>
+ #else
+ #include <ncursesw/ncurses.h>