pkgsrc/textproc/isearch/patches/patch-src_sw.hxx
dholland 1996770c3c Chase after that moving target known lightly as the C++ "standard".
Fixes build. Also clean up insecure-temporary-files. PKGREVISION -> 1.
2012-12-21 10:29:46 +00:00

16 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",