summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-01-25 10:43:59 +0000
committerjperkin <jperkin@pkgsrc.org>2018-01-25 10:43:59 +0000
commit64288e1511b3f8d7c84801597cb846f8956c98ac (patch)
tree2f459e0cda2269e6c20572ca9d1121429f2c06a0 /textproc
parent6ba9a2ca0d2f4552ffb78b811bebb31e305634d0 (diff)
downloadpkgsrc-64288e1511b3f8d7c84801597cb846f8956c98ac.tar.gz
hunspell: Fix clang -Wreserved-user-defined-literal error.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hunspell/distinfo3
-rw-r--r--textproc/hunspell/patches/patch-src_tools_hunspell.cxx15
2 files changed, 17 insertions, 1 deletions
diff --git a/textproc/hunspell/distinfo b/textproc/hunspell/distinfo
index cf6b24cdbf1..cec21b0b4f4 100644
--- a/textproc/hunspell/distinfo
+++ b/textproc/hunspell/distinfo
@@ -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 @@ Size (hunspell-1.3.3.tar.gz) = 986081 bytes
SHA1 (patch-aa) = b03a51d88bd57786f4a0ac01a3b760b4d8ba385a
SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0
SHA1 (patch-ac) = 27cad6078b55bce7144f462ddebac9887392c93b
+SHA1 (patch-src_tools_hunspell.cxx) = c5fd2ec5c56ee62c1547fbbd69aee760c6002960
diff --git a/textproc/hunspell/patches/patch-src_tools_hunspell.cxx b/textproc/hunspell/patches/patch-src_tools_hunspell.cxx
new file mode 100644
index 00000000000..bbbcb6fea50
--- /dev/null
+++ b/textproc/hunspell/patches/patch-src_tools_hunspell.cxx
@@ -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 "&apos;"