summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2020-04-21 18:58:18 +0000
committerdholland <dholland@pkgsrc.org>2020-04-21 18:58:18 +0000
commit8097f97c29ce84c5069819294445994d702d61e1 (patch)
tree4ce953b2f320a3d57bee700dc4265bdf616cd0ae
parent2d7c666435df7b59d5dfe089bdbb87ce0bfa89be (diff)
downloadpkgsrc-8097f97c29ce84c5069819294445994d702d61e1.tar.gz
libwpd: Fix broken build, missing size_t
-rw-r--r--converters/libwpd/distinfo3
-rw-r--r--converters/libwpd/patches/patch-src_lib_WPXTable.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/converters/libwpd/distinfo b/converters/libwpd/distinfo
index d268445fc67..e4679fbd0a7 100644
--- a/converters/libwpd/distinfo
+++ b/converters/libwpd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2020/03/25 10:00:43 nia Exp $
+$NetBSD: distinfo,v 1.16 2020/04/21 18:58:18 dholland Exp $
SHA1 (libwpd-0.10.3.tar.bz2) = 4088e9762a99e7a451d00764807a2ec639cf13e8
RMD160 (libwpd-0.10.3.tar.bz2) = 1b2e4940a736f50df58b6225de5543f95cb9f9c0
SHA512 (libwpd-0.10.3.tar.bz2) = cf3db714d424c32ecf5740b17d9f1721f228d3a7edbd1cc7a0f4b30f7ac9b1024cf45c0727b9f916b7672321e05f0d791c7f7f5ad5d47fedcea9ad9e886eb459
Size (libwpd-0.10.3.tar.bz2) = 669503 bytes
+SHA1 (patch-src_lib_WPXTable.h) = 892c5addb5faece4385d30b557268d6bc22f33c1
diff --git a/converters/libwpd/patches/patch-src_lib_WPXTable.h b/converters/libwpd/patches/patch-src_lib_WPXTable.h
new file mode 100644
index 00000000000..e2a22fb3e5b
--- /dev/null
+++ b/converters/libwpd/patches/patch-src_lib_WPXTable.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_lib_WPXTable.h,v 1.1 2020/04/21 18:58:18 dholland Exp $
+
+Needs a definition for size_t.
+
+--- src/lib/WPXTable.h~ 2018-12-25 16:19:19.000000000 +0000
++++ src/lib/WPXTable.h
+@@ -37,6 +37,7 @@
+ #define _WPXTABLE_H
+
+ #include <vector>
++#include <cstddef> // for size_t
+
+ struct WPXTableCell
+ {