pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hunspell hunspell: Fix clang -Wreserved-user-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc345989e03f
branches: trunk
changeset: 374556:bc345989e03f
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Jan 25 10:43:59 2018 +0000
description:
hunspell: Fix clang -Wreserved-user-defined-literal error.
diffstat:
textproc/hunspell/distinfo | 3 ++-
textproc/hunspell/patches/patch-src_tools_hunspell.cxx | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r a4e7ade7a18a -r bc345989e03f textproc/hunspell/distinfo
--- a/textproc/hunspell/distinfo Thu Jan 25 10:41:37 2018 +0000
+++ b/textproc/hunspell/distinfo Thu Jan 25 10:43:59 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 01:59:32 agc Exp $
+$NetBSD: distinfo,v 1.9 2018/01/25 10:43:59 jperkin Exp $
SHA1 (hunspell-1.3.3.tar.gz) = 219b20f305d6690f666ff3864a16e4674908a553
RMD160 (hunspell-1.3.3.tar.gz) = 6e45fdf0c602f0694f414b0cb33de34a5bf95683
@@ -7,3 +7,4 @@
SHA1 (patch-aa) = b03a51d88bd57786f4a0ac01a3b760b4d8ba385a
SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0
SHA1 (patch-ac) = 27cad6078b55bce7144f462ddebac9887392c93b
+SHA1 (patch-src_tools_hunspell.cxx) = c5fd2ec5c56ee62c1547fbbd69aee760c6002960
diff -r a4e7ade7a18a -r bc345989e03f textproc/hunspell/patches/patch-src_tools_hunspell.cxx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hunspell/patches/patch-src_tools_hunspell.cxx Thu Jan 25 10:43:59 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_tools_hunspell.cxx,v 1.1 2018/01/25 10:43:59 jperkin Exp $
+
+C++11 requires a space between literal and identifier
+
+--- src/tools/hunspell.cxx.orig 2018-01-24 18:44:15.895346290 +0000
++++ src/tools/hunspell.cxx
+@@ -17,7 +17,7 @@
+ #define HUNSPELL_VERSION VERSION
+ #define INPUTLEN 50
+
+-#define HUNSPELL_PIPE_HEADING "@(#) International Ispell Version 3.2.06 (but really Hunspell "VERSION")\n"
++#define HUNSPELL_PIPE_HEADING "@(#) International Ispell Version 3.2.06 (but really Hunspell " VERSION ")\n"
+ #define HUNSPELL_HEADING "Hunspell "
+ #define ODF_EXT "odt|ott|odp|otp|odg|otg|ods|ots"
+ #define ENTITY_APOS "'"
Home |
Main Index |
Thread Index |
Old Index