diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2020-02-26 04:55:25 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2020-02-26 04:55:25 +0800 |
commit | c79112c771b058a78bfc75a6e569ca8b79ad3262 (patch) | |
tree | 443d40768dcd9bd5e94df6c0368e57b18c7d7cac | |
parent | 41c0041c4c49eaf52821a5bb2fc842909a9ba844 (diff) | |
download | freebsd-ports-gnome-c79112c771b058a78bfc75a6e569ca8b79ad3262.tar.gz freebsd-ports-gnome-c79112c771b058a78bfc75a6e569ca8b79ad3262.tar.zst freebsd-ports-gnome-c79112c771b058a78bfc75a6e569ca8b79ad3262.zip |
Fix build with CGDISK enabled
PR: 244390
Reported by: John Hein <jcfyecrayz@liamekaens.com>
-rw-r--r-- | sysutils/gdisk/files/patch-gptcurses.cc | 11 |
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> |