Bug 205041 - [PATCH] astro/gpsd: allow building when ncurses-6.0 is installed
Summary: [PATCH] astro/gpsd: allow building when ncurses-6.0 is installed
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Smirnoff
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-12-05 17:33 UTC by Christoph Moench-Tegeder
Modified: 2015-12-09 12:32 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (glebius)


Attachments
change #include to ncurses.h (1018 bytes, patch)
2015-12-05 17:34 UTC, Christoph Moench-Tegeder
no flags Details | Diff
poudriere testport log output (66.32 KB, text/x-log)
2015-12-05 17:34 UTC, Christoph Moench-Tegeder
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Moench-Tegeder freebsd_committer freebsd_triage 2015-12-05 17:33:32 UTC
Two files in gpsd (cgps.c and gpsmon.h) include "curses.h". The new ncurses does not supply curses.h anymore, resulting in conflicts between base system ncurses and devel/ncurses.
By changing those #include lines to "ncurses.h" (which is present in base and supplied by devel/ncurses) we can make gpsd compile with and without devel/ncurses.
Attached patch fixed the issue for my system (devel/ncurses installed), and attached poudriere log uses base system ncurses only - showing "no breakage" from this patch.
Comment 1 Christoph Moench-Tegeder freebsd_committer freebsd_triage 2015-12-05 17:34:04 UTC
Created attachment 163872 [details]
change #include to ncurses.h
Comment 2 Christoph Moench-Tegeder freebsd_committer freebsd_triage 2015-12-05 17:34:36 UTC
Created attachment 163873 [details]
poudriere testport log output
Comment 3 Christoph Moench-Tegeder freebsd_committer freebsd_triage 2015-12-09 12:32:44 UTC
fixed via bug #205155