| Summary: | sysutils/gdisk: build failure after update to 1.0.5: 'ncursesw/ncurses.h' file not found | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | John Hein <jcfyecrayz> |
| Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | jcfyecrayz |
| Priority: | --- | Keywords: | needs-qa, regression |
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(sunpoet) koobs: maintainer-feedback? (bapt) |
| Hardware: | Any | ||
| OS: | Any | ||
upstream difference from 1.0.4 to 1.0.5: --- gptfdisk-1.0.4/gptcurses.cc 2018-07-05 14:19:46.000000000 -0600 +++ gptfdisk-1.0.5/gptcurses.cc 2020-02-17 15:34:11.000000000 -0700 @@ -19,10 +19,15 @@ * */ +#include <clocale> #include <iostream> #include <string> #include <sstream> +#ifdef __APPLE__ #include <ncurses.h> +#else +#include <ncursesw/ncurses.h> +#endif #include "gptcurses.h" #include "support.h" A commit references this bug: Author: sunpoet Date: Tue Feb 25 20:55:26 UTC 2020 New revision: 527130 URL: https://svnweb.freebsd.org/changeset/ports/527130 Log: Fix build with CGDISK enabled PR: 244390 Reported by: John Hein <jcfyecrayz@liamekaens.com> Changes: head/sysutils/gdisk/files/patch-gptcurses.cc Committed. Thanks! |
If CGDISK=on, 1.0.5 triggers a compile error: --- gptcurses.o --- gptcurses.cc:29:10: fatal error: 'ncursesw/ncurses.h' file not found #include <ncursesw/ncurses.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [gptcurses.o] Error code 1