summaryrefslogtreecommitdiff
path: root/databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2017-09-09 15:23:30 +0000
committerdholland <dholland@pkgsrc.org>2017-09-09 15:23:30 +0000
commitefec59e2c4ed2a8cddca27d451118bb1f04b3408 (patch)
tree588011a2180467a98d8bef910eea67bf1311914e /databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
parenta5b3912feb44453794da20e88567650a4d89d870 (diff)
downloadpkgsrc-efec59e2c4ed2a8cddca27d451118bb1f04b3408.tar.gz
Remove gratuitous and wrong #ifdef __DragonFly__ from patch. HI MARINO@!
Diffstat (limited to 'databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp')
-rw-r--r--databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp b/databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
index 821d1be9f11..44d3e9c8833 100644
--- a/databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
+++ b/databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
@@ -1,14 +1,16 @@
-$NetBSD: patch-library_base_file_utilities.cpp,v 1.3 2012/09/15 05:14:07 obache Exp $
+$NetBSD: patch-library_base_file_utilities.cpp,v 1.4 2017/09/09 15:23:30 dholland Exp $
+
+Use standard headers.
--- library/base/file_utilities.cpp.orig 2011-03-17 12:48:44.000000000 +0000
+++ library/base/file_utilities.cpp
-@@ -31,6 +31,9 @@
+@@ -29,7 +29,9 @@
+ #else
+ #include <errno.h>
#include <fcntl.h>
++#include <sys/types.h>
#include <sys/file.h>
- #endif
-+#ifdef __DragonFly__
+#include <sys/stat.h>
-+#endif
+ #endif
namespace base {
-