mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
59 lines
1.6 KiB
Diff
59 lines
1.6 KiB
Diff
diff --git a/cmd_cp.c b/cmd_cp.c
|
|
index 9a6845c..866805a 100755
|
|
--- a/cmd_cp.c
|
|
+++ b/cmd_cp.c
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include <unistd.h>
|
|
#include <limits.h>
|
|
#include "getopt.h"
|
|
diff --git a/cmd_ls.c b/cmd_ls.c
|
|
index 2ed38cf..738fb03 100755
|
|
--- a/cmd_ls.c
|
|
+++ b/cmd_ls.c
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include <assert.h>
|
|
#include <time.h>
|
|
#include "interface.h"
|
|
diff --git a/configure b/configure
|
|
index bb18d07..1b427d2 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -1135,7 +1135,7 @@ cat > conftest.$ac_ext << EOF
|
|
#line 1136 "configure"
|
|
#include "confdefs.h"
|
|
|
|
-main(){return(0);}
|
|
+int main(){return(0);}
|
|
EOF
|
|
if { (eval echo configure:1141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
ac_cv_prog_cc_works=yes
|
|
@@ -2084,7 +2084,7 @@ else
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 2086 "configure"
|
|
#include "confdefs.h"
|
|
-main() { exit (fnmatch ("a*", "abc", 0) != 0); }
|
|
+int main() { exit (fnmatch ("a*", "abc", 0) != 0); }
|
|
EOF
|
|
if { (eval echo configure:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
then
|
|
diff --git a/output.c b/output.c
|
|
index f8a2b7b..70c0e17 100755
|
|
--- a/output.c
|
|
+++ b/output.c
|
|
@@ -54,7 +54,7 @@ int display(displaylevel_t level, char *format, ...)
|
|
/* get the verbosity level from the fatback symbol table */
|
|
if (!(verbose_var = get_fbvar("verbose"))) {
|
|
printf("Error reading variable\n");
|
|
- return;
|
|
+ return -1;
|
|
} else {
|
|
verbose = verbose_var->val.ival;
|
|
free(verbose_var);
|