opnsense-ports/mail/gubby/files/patch-include_initcurs.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
418 B
C++

--- include/initcurs.h.orig 2004-12-17 23:29:19.000000000 -0500
+++ include/initcurs.h 2014-07-29 18:53:52.000000000 -0400
@@ -33,6 +33,7 @@
#undef clear
#include <string>
+#include <stdlib.h>
//! Curses resource-aquisition-is-initialization
class initcurs {
@@ -41,7 +42,7 @@
initcurs();
~initcurs();
- inline bool initcurs::hascolors() const {
+ inline bool hascolors() const {
return colors;
}