summarylogtreecommitdiffstats
path: root/278402-manpage.all.patch
diff options
context:
space:
mode:
authorSebastian Morr2015-06-24 22:33:37 +0200
committerSebastian Morr2015-06-24 22:33:37 +0200
commit36e6133998481f57248d1f72f0c779e1990938c1 (patch)
tree2013269710e8ed39be8e0f79dda5c9b13da98924 /278402-manpage.all.patch
downloadaur-36e6133998481f57248d1f72f0c779e1990938c1.tar.gz
Initial commit
Diffstat (limited to '278402-manpage.all.patch')
-rw-r--r--278402-manpage.all.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/278402-manpage.all.patch b/278402-manpage.all.patch
new file mode 100644
index 000000000000..3125474de4fc
--- /dev/null
+++ b/278402-manpage.all.patch
@@ -0,0 +1,30 @@
+Index: popt-1.16/popt.3
+===================================================================
+--- popt-1.16.orig/popt.3 2010-05-13 04:58:04.357009234 +0100
++++ popt-1.16/popt.3 2010-05-13 04:58:09.716009057 +0100
+@@ -657,21 +657,22 @@
+ .nf
+ #include <popt.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ void usage(poptContext optCon, int exitcode, char *error, char *addl) {
+ poptPrintUsage(optCon, stderr, 0);
+- if (error) fprintf(stderr, "%s: %s\n", error, addl);
++ if (error) fprintf(stderr, "%s: %s\\n", error, addl);
+ exit(exitcode);
+ }
+
+ int main(int argc, char *argv[]) {
+- char c; /* used for argument parsing */
++ int c; /* used for argument parsing */
+ int i = 0; /* used for tracking options */
+- char *portname;
+ int speed = 0; /* used in argument parsing to set speed */
+ int raw = 0; /* raw mode? */
+ int j;
+ char buf[BUFSIZ+1];
++ const char *portname;
+ poptContext optCon; /* context for parsing command-line options */
+
+ struct poptOption optionsTable[] = {