ports/devel/popt/files/patch-popt.3
Josh Paetzel dc730f320a Add LICENSE
Along the way silence portlint warnings about the patch files.
2017-07-12 14:42:19 +00:00

20 lines
724 B
Groff

--- popt.3.orig 2009-07-25 18:52:36 UTC
+++ popt.3
@@ -24,7 +24,7 @@ popt \- Parse command line options
.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 @@ Two functions are available to make it easy for applic
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."