pkgsrc/misc/libreoffice/patches/patch-external_mariadb-connector-c_netbsd.patch
ryoon d066df58d5 Update to 6.0.0.3
Changelog:
Many improvements including:
In Writer:
* Improved input fields
* Support images rotation
* As mail merge source
* New table styles
* "Grammar by" spell checking

In Calc:
* Improvement of pivot table
* Export cell range to PNG or JPEG
* Pasting unformatted text
* Protection of cells and sheets
* Some new spreadsheet functions

In Impress and Draw
* Add new Impress templates
* New layers in draw operations
2018-02-03 00:39:50 +00:00

16 lines
665 B
Diff

$NetBSD: patch-external_mariadb-connector-c_netbsd.patch,v 1.1 2018/02/03 00:39:50 ryoon Exp $
--- external/mariadb-connector-c/netbsd.patch.orig 2018-02-01 04:59:29.711564554 +0000
+++ external/mariadb-connector-c/netbsd.patch
@@ -0,0 +1,11 @@
+--- mariadb/include/my_global.h.orig 2014-04-04 10:21:01.000000000 +0000
++++ mariadb/include/my_global.h
+@@ -190,7 +190,7 @@ double my_ulonglong2double(unsigned long
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+-#if defined(__cplusplus) && defined(NO_CPLUSPLUS_ALLOCA)
++#if (defined(__cplusplus) && defined(NO_CPLUSPLUS_ALLOCA)) || defined(__NetBSD__)
+ #undef HAVE_ALLOCA
+ #undef HAVE_ALLOCA_H
+ #endif