aboutsummaryrefslogtreecommitdiff
path: root/databases/hypertable
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-12-27 20:55:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-12-27 20:55:08 +0000
commit60dfc9c453e121e71a94373e5329544d788422b5 (patch)
tree20ed6c2badec1b87478f0766efeb8344a7624bee /databases/hypertable
parent7466c9b14fc51c13b224614c09d7080fdd2e96e1 (diff)
Notes
Diffstat (limited to 'databases/hypertable')
-rw-r--r--databases/hypertable/Makefile2
-rw-r--r--databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc29
2 files changed, 29 insertions, 2 deletions
diff --git a/databases/hypertable/Makefile b/databases/hypertable/Makefile
index 28f57287549d..0e38ab002a1f 100644
--- a/databases/hypertable/Makefile
+++ b/databases/hypertable/Makefile
@@ -26,8 +26,6 @@ LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
BUILD_DEPENDS= ${RUN_DEPENDS} \
ant:${PORTSDIR}/devel/apache-ant
-BROKEN= does not build
-
OPTIONS= TCMALLOC "Use Tcmalloc" on \
HOARD "Use Hoard" off \
PYTHONLIBS "Add Python binding" off \
diff --git a/databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc b/databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc
new file mode 100644
index 000000000000..bfa5f41ffb09
--- /dev/null
+++ b/databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc
@@ -0,0 +1,29 @@
+--- src/cc/Hypertable/Lib/HqlInterpreter.cc.orig 2010-12-13 17:56:18.000000000 +0300
++++ src/cc/Hypertable/Lib/HqlInterpreter.cc 2010-12-13 17:55:27.000000000 +0300
+@@ -272,7 +272,7 @@
+ }
+ else {
+ out_fd = dup(fileno(outf));
+- fout.push(boost::iostreams::file_descriptor_sink(out_fd));
++ fout.push(boost::iostreams::file_descriptor_sink(out_fd, boost::iostreams::never_close_handle));
+ }
+
+ HT_ON_SCOPE_EXIT(&close_file, out_fd);
+@@ -397,7 +397,7 @@
+ }
+ else {
+ out_fd = dup(fileno(outf));
+- fout.push(boost::iostreams::file_descriptor_sink(out_fd));
++ fout.push(boost::iostreams::file_descriptor_sink(out_fd, boost::iostreams::never_close_handle));
+ }
+
+ HT_ON_SCOPE_EXIT(&close_file, out_fd);
+@@ -488,7 +488,7 @@
+ else {
+ if (outf) {
+ out_fd = dup(fileno(outf));
+- fout.push(boost::iostreams::file_descriptor_sink(out_fd));
++ fout.push(boost::iostreams::file_descriptor_sink(out_fd, boost::iostreams::never_close_handle));
+ }
+ else
+ fout.push(boost::iostreams::null_sink());