pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/libqxp
Module Name: pkgsrc
Committed By: dholland
Date: Mon Mar 12 01:29:44 UTC 2018
Modified Files:
pkgsrc/converters/libqxp: distinfo
Added Files:
pkgsrc/converters/libqxp/patches: patch-src_lib_QXPBlockParser.cpp
Log Message:
Use std::abs instead of just abs to fix clang build.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/converters/libqxp/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/converters/libqxp/distinfo
diff -u pkgsrc/converters/libqxp/distinfo:1.1 pkgsrc/converters/libqxp/distinfo:1.2
--- pkgsrc/converters/libqxp/distinfo:1.1 Sat Feb 3 00:06:29 2018
+++ pkgsrc/converters/libqxp/distinfo Mon Mar 12 01:29:44 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/02/03 00:06:29 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2018/03/12 01:29:44 dholland 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
Added files:
Index: pkgsrc/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp
diff -u /dev/null pkgsrc/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp:1.1
--- /dev/null Mon Mar 12 01:29:44 2018
+++ pkgsrc/converters/libqxp/patches/patch-src_lib_QXPBlockParser.cpp Mon Mar 12 01:29:44 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_lib_QXPBlockParser.cpp,v 1.1 2018/03/12 01:29:44 dholland 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
+@@ -108,7 +108,7 @@ std::shared_ptr<RVNGInputStream> QXPBloc
+
+ const int32_t nextVal = bigIdx ? readS32(m_input, be) : readS16(m_input, be);
+ isBig = nextVal < 0;
+- next = abs(nextVal);
++ next = std::abs(nextVal);
+ }
+ }
+ catch (...)
Home |
Main Index |
Thread Index |
Old Index