pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/libqxp libqxp: add a missing #include for s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9474ed096d65
branches:  trunk
changeset: 377457:9474ed096d65
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Mar 17 09:22:06 2018 +0000

description:
libqxp: add a missing #include for std::abs

diffstat:

 converters/libqxp/distinfo                                 |   4 ++--
 converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp |  14 +++++++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 5eba2701058a -r 9474ed096d65 converters/libqxp/distinfo
--- a/converters/libqxp/distinfo        Sat Mar 17 09:14:35 2018 +0000
+++ b/converters/libqxp/distinfo        Sat Mar 17 09:22:06 2018 +0000
@@ -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 -r 5eba2701058a -r 9474ed096d65 converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp
--- a/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp        Sat Mar 17 09:14:35 2018 +0000
+++ b/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp        Sat Mar 17 09:22:06 2018 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index