ports/devel/popt/files/patch-popt.3
Josh Paetzel a2d0d7a6ca Update to 1.16
Add missing dependancy on iconv

PR:	ports/147884
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
2010-08-30 13:55:36 +00:00

20 lines
682 B
Groff

--- popt.3.orig 2009-07-26 02:52:36.000000000 +0800
+++ popt.3 2010-06-16 00:39:09.000000000 +0800
@@ -24,7 +24,7 @@
.sp
.BI "const char ** poptGetArgs(poptContext " con );
.sp
-.BI "const char *const poptStrerror(const int " error );
+.BI "const char * poptStrerror(const int " error );
.sp
.BI "const char * poptBadOption(poptContext " con ", int " flags );
.sp
@@ -498,7 +498,7 @@
good error messages.
.HP
.nf
-.BI "const char *const poptStrerror(const int " error ");"
+.BI "const char * poptStrerror(const int " error ");"
.fi
This function takes a popt error code and returns a string describing
.RB "the error, just as with the standard " strerror() " function."