summaryrefslogtreecommitdiff
path: root/misc/libreoffice/patches
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2018-07-20 09:36:19 +0000
committerbouyer <bouyer@pkgsrc.org>2018-07-20 09:36:19 +0000
commitc4d05c4d9205ea86e7472af9f2af679b1c8947c8 (patch)
treedc90cd8d7e4ee40682bcb1ccaf812b3915ab54c8 /misc/libreoffice/patches
parent8353e6c280da8d98e57e5a3d999a9b32f8ca20ae (diff)
downloadpkgsrc-c4d05c4d9205ea86e7472af9f2af679b1c8947c8.tar.gz
Define HAVE_INTTYPES_H for __NetBSD__ too.
Fixes build on NetBSD/i386 8.0 at last
Diffstat (limited to 'misc/libreoffice/patches')
-rw-r--r--misc/libreoffice/patches/patch-external_mysql-connector-cpp_config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/libreoffice/patches/patch-external_mysql-connector-cpp_config.h b/misc/libreoffice/patches/patch-external_mysql-connector-cpp_config.h
new file mode 100644
index 00000000000..bcbbe28f6c4
--- /dev/null
+++ b/misc/libreoffice/patches/patch-external_mysql-connector-cpp_config.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-external_mysql-connector-cpp_config.h,v 1.1 2018/07/20 09:36:19 bouyer Exp $
+
+--- external/mysql-connector-cpp/config.h.orig 2018-07-19 19:35:30.087775890 +0200
++++ external/mysql-connector-cpp/config.h 2018-07-19 19:37:26.808008694 +0200
+@@ -13,6 +13,10 @@
+ #endif
+ #endif
+
++#if defined(__NetBSD__)
++ #define HAVE_INTTYPES_H
++#endif
++
+ #ifdef HAVE_STDINT_H
+ #include <stdint.h>
+ #endif