openbsd-ports/productivity/devtodo/patches/patch-src_todoterm_cc
2022-03-11 19:51:39 +00:00

14 lines
313 B
Plaintext

fix for ports-gcc-4.9
todoterm.cc:18:38: error: 'getenv' was not declared in this scope
Index: src/todoterm.cc
--- src/todoterm.cc.orig
+++ src/todoterm.cc
@@ -7,6 +7,7 @@
#include <stdexcept>
#include <curses.h>
#include <term.h>
+#include <stdlib.h>
static char info[2048];
static bool term_initialized;