summaryrefslogtreecommitdiff
path: root/databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-05-24 18:54:16 +0000
committermarino <marino@pkgsrc.org>2012-05-24 18:54:16 +0000
commit56c8560c7e9edd265e77782529fa475b468a29c1 (patch)
tree31a50564d1ab2351f74ed00412e1e4d8d37de876 /databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
parent1f4eedc3053fa778391082984cb388d8b5babbc4 (diff)
downloadpkgsrc-56c8560c7e9edd265e77782529fa475b468a29c1.tar.gz
databases/mysql-workbench: Fix unportable patch, add DragonFly fix
One patch was hardcoded for NetBSD, return it closer to intention without breaking NetBSD. It's still not great, but a little better.
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, 14 insertions, 0 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
new file mode 100644
index 00000000000..30d92966c38
--- /dev/null
+++ b/databases/mysql-workbench/patches/patch-library_base_file_utilities.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-library_base_file_utilities.cpp,v 1.1 2012/05/24 18:54:16 marino Exp $
+
+--- library/base/file_utilities.cpp.orig 2011-03-17 12:48:44.000000000 +0000
++++ library/base/file_utilities.cpp
+@@ -31,6 +31,9 @@
+ #include <fcntl.h>
+ #include <sys/file.h>
+ #endif
++#ifdef __DragonFly__
++#include <sys/stat.h>
++#endif
+
+ namespace base {
+