aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-04-07 01:44:31 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-04-07 01:44:31 +0000
commit49e1dc6bc6f3262e0b32752a36163f2150133b2d (patch)
tree7948e14d2eaaeefef8375642e838041b5183d75f /x11
parent6da26f5e8f04964fb771a3e7066be977dce8acdc (diff)
downloadports-49e1dc6bc6f3262e0b32752a36163f2150133b2d.tar.gz
ports-49e1dc6bc6f3262e0b32752a36163f2150133b2d.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/decurs/Makefile3
-rw-r--r--x11/decurs/files/patch-src_cppstring.cc10
2 files changed, 12 insertions, 1 deletions
diff --git a/x11/decurs/Makefile b/x11/decurs/Makefile
index 730951fc15e4..f3c4c7ad7e05 100644
--- a/x11/decurs/Makefile
+++ b/x11/decurs/Makefile
@@ -17,7 +17,8 @@ USE_GITHUB= yes
GH_ACCOUNT= danfe
GH_TAGNAME= 10c5691
-USES= pkgconfig
+USES= compiler:c++11-lang dos2unix gnome pkgconfig
+DOS2UNIX_FILES= src/cppstring.cc
GNU_CONFIGURE= yes
USE_XORG= x11
USE_GNOME= gtk20
diff --git a/x11/decurs/files/patch-src_cppstring.cc b/x11/decurs/files/patch-src_cppstring.cc
new file mode 100644
index 000000000000..c0dd8bb28799
--- /dev/null
+++ b/x11/decurs/files/patch-src_cppstring.cc
@@ -0,0 +1,10 @@
+--- src/cppstring.cc.orig 2019-04-05 11:08:03 UTC
++++ src/cppstring.cc
+@@ -4,6 +4,7 @@
+ #include "cppstring.hh"
+ #include "idefs.h"
+ #include <iostream>
++#include <stdarg.h>
+ // #include <except.h>
+ #define DEF_BUFFER_SIZE 512
+ #define CPPSTRING_ERROR(obj,msg,retval) {obj<<"*** ERROR *** : "<<msg<<std::endl;return retval;}