pkgsrc/devel/popt/patches/patch-af
gson b7c513b88f Remove bogus const which caused gcc 3.3.2 to issue warnings like
"/usr/pkg/include/popt.h:444: warning: type qualifiers ignored on
function return type" every time popt.h was included.
2003-11-24 19:13:19 +00:00

13 lines
356 B
Text

$NetBSD: patch-af,v 1.1 2003/11/24 19:13:19 gson Exp $
--- popt.c.orig 2002-08-22 07:17:44.000000000 -0700
+++ popt.c
@@ -1153,7 +1153,7 @@ const char * poptBadOption(poptContext c
/*@=nullderef@*/
}
-const char *const poptStrerror(const int error)
+const char *poptStrerror(const int error)
{
switch (error) {
case POPT_ERROR_NOARG: