add missing includes for ports-gcc

This commit is contained in:
naddy 2018-12-01 00:15:36 +00:00
parent 5a4b14f5e1
commit 0711273eea
3 changed files with 21 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.17 2018/10/24 14:28:10 sthen Exp $
# $OpenBSD: Makefile,v 1.18 2018/12/01 00:15:36 naddy Exp $
COMMENT= color-able replacement for tail(1)
DISTNAME= colortail-0.3.0
CATEGORIES= sysutils
REVISION = 4
REVISION = 5
MASTER_SITES= http://keyserver.kjsl.com/~jharris/distfiles/
MAINTAINER= Robert Nagy <robert@openbsd.org>

View File

@ -1,11 +1,13 @@
$OpenBSD: patch-Colorizer_cc,v 1.3 2017/04/23 22:18:32 sthen Exp $
--- Colorizer.cc.orig Tue Aug 3 20:41:17 1999
+++ Colorizer.cc Sun Apr 23 23:13:01 2017
@@ -23,8 +23,9 @@
$OpenBSD: patch-Colorizer_cc,v 1.4 2018/12/01 00:15:36 naddy Exp $
Index: Colorizer.cc
--- Colorizer.cc.orig
+++ Colorizer.cc
@@ -23,8 +23,10 @@
#include <assert.h>
#include <stdio.h>
-#include <strstream.h>
+#include <string.h>
+#include <strstream>
+using namespace std;

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-main_cc,v 1.1 2018/12/01 00:15:36 naddy Exp $
Index: main.cc
--- main.cc.orig
+++ main.cc
@@ -18,6 +18,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <signal.h>
#include "main.h"