pkgsrc-ng/textproc/isearch/patches/patch-src_sw.hxx
2013-09-26 17:14:40 +02:00

17 lines
331 B
C++

$NetBSD: patch-src_sw.hxx,v 1.1 2012/12/21 10:29:47 dholland Exp $
Chase after the C++ standard:
- string constants are const char *
--- src/sw.hxx~ 1998-12-10 05:35:06.000000000 +0000
+++ src/sw.hxx
@@ -2,7 +2,7 @@
#define SW_HXX
// 400 words
-char *stoplist[] = {
+const char *stoplist[] = {
"0",
"1",
"2",