diff options
author | tnn <tnn@pkgsrc.org> | 2018-03-17 09:22:06 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2018-03-17 09:22:06 +0000 |
commit | e9646f1eaca52c5f12cfb4cdfee83a560bebf8ef (patch) | |
tree | 93995472447c33ccc86ed4f7c169d529a5361b57 /converters | |
parent | 7f2f0330a352fa5dfa9abc65bde4e80a9bdf174e (diff) | |
download | pkgsrc-e9646f1eaca52c5f12cfb4cdfee83a560bebf8ef.tar.gz |
libqxp: add a missing #include for std::abs
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libqxp/distinfo | 4 | ||||
-rw-r--r-- | converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp | 14 |
2 files changed, 13 insertions, 5 deletions
diff --git a/converters/libqxp/distinfo b/converters/libqxp/distinfo index d8fe68ec6c3..3d366844af5 100644 --- a/converters/libqxp/distinfo +++ b/converters/libqxp/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.2 2018/03/12 01:29:44 dholland Exp $ +$NetBSD: distinfo,v 1.3 2018/03/17 09:22:06 tnn Exp $ SHA1 (libqxp-0.0.1.tar.xz) = a5963474afcc8e7b0eb352754325c21e1a1f5e18 RMD160 (libqxp-0.0.1.tar.xz) = c1d8d8ecd06445ec5ad9f8d18ec86e31d485879b SHA512 (libqxp-0.0.1.tar.xz) = a03a9ada658a92f4d985cad91d467b3916334c74dc26c1e4de89e3929e0135ca0e9c7e7e18ce616ef56a67863ec19c2638494400785849017f9a4776df07c607 Size (libqxp-0.0.1.tar.xz) = 340184 bytes -SHA1 (patch-src_lib_QXPBlockParser.cpp) = d2878371963ad704092080f291c6e3a4de100628 +SHA1 (patch-src_lib_QXPBlockParser.cpp) = ee665d7b2f2a0ca2887c8e0687a39654a41dc550 diff --git a/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp b/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp index 65eb66dbc5a..c3845798b00 100644 --- a/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp +++ b/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp @@ -1,10 +1,18 @@ -$NetBSD: patch-src_lib_QXPBlockParser.cpp,v 1.1 2018/03/12 01:29:44 dholland Exp $ +$NetBSD: patch-src_lib_QXPBlockParser.cpp,v 1.2 2018/03/17 09:22:06 tnn Exp $ Fix clang build. (this doesn't fail on gcc; don't ask me why) ---- src/lib/QXPBlockParser.cpp~ 2017-12-31 15:11:37.000000000 +0000 +--- src/lib/QXPBlockParser.cpp.orig 2017-12-31 15:11:37.000000000 +0000 +++ src/lib/QXPBlockParser.cpp -@@ -108,7 +108,7 @@ std::shared_ptr<RVNGInputStream> QXPBloc +@@ -16,6 +16,7 @@ + #include <set> + #include <vector> + #include <iterator> ++#include <cstdlib> + + #include "QXPHeader.h" + #include "QXPMemoryStream.h" +@@ -108,7 +109,7 @@ std::shared_ptr<RVNGInputStream> QXPBloc const int32_t nextVal = bigIdx ? readS32(m_input, be) : readS16(m_input, be); isBig = nextVal < 0; |