summaryrefslogtreecommitdiff
path: root/textproc/uncrustify
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-04-29 21:31:09 +0000
committerjoerg <joerg@pkgsrc.org>2013-04-29 21:31:09 +0000
commit6e046ee9d87a4b818e73943146107b522dc94508 (patch)
treeb710080e6271cb564fc3ba34cc7bac3fab429e6d /textproc/uncrustify
parent0a5f84a912074adb51a614e31607e7ab495cc90a (diff)
downloadpkgsrc-6e046ee9d87a4b818e73943146107b522dc94508.tar.gz
Add a number of includes hidden by libstdc++'s name space pollution.
Diffstat (limited to 'textproc/uncrustify')
-rw-r--r--textproc/uncrustify/distinfo3
-rw-r--r--textproc/uncrustify/patches/patch-src_uncrustify.cpp12
2 files changed, 14 insertions, 1 deletions
diff --git a/textproc/uncrustify/distinfo b/textproc/uncrustify/distinfo
index dd7435bcd6b..b1526b44294 100644
--- a/textproc/uncrustify/distinfo
+++ b/textproc/uncrustify/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2013/01/13 04:22:34 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2013/04/29 21:31:13 joerg Exp $
SHA1 (uncrustify-0.59.tar.gz) = 233e4f6cb34ef7020ce49e5b5d14f0d46f277e31
RMD160 (uncrustify-0.59.tar.gz) = 433a04ddd3d477173fa31f16d05fd0a264436e64
Size (uncrustify-0.59.tar.gz) = 983822 bytes
+SHA1 (patch-src_uncrustify.cpp) = efbf6c9856bad5cf3130e00a25fe2bf7b73ef16c
diff --git a/textproc/uncrustify/patches/patch-src_uncrustify.cpp b/textproc/uncrustify/patches/patch-src_uncrustify.cpp
new file mode 100644
index 00000000000..48f5379dd9f
--- /dev/null
+++ b/textproc/uncrustify/patches/patch-src_uncrustify.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_uncrustify.cpp,v 1.1 2013/04/29 21:31:13 joerg Exp $
+
+--- src/uncrustify.cpp.orig 2013-04-29 19:04:36.000000000 +0000
++++ src/uncrustify.cpp
+@@ -25,6 +25,7 @@
+ #include <cstring>
+ #include <cerrno>
+ #include <fcntl.h>
++#include <unistd.h>
+ #include "unc_ctype.h"
+ #ifdef HAVE_SYS_STAT_H
+ #include <sys/stat.h>