aboutsummaryrefslogtreecommitdiff
path: root/net/unfs3/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/unfs3/files')
-rw-r--r--net/unfs3/files/patch-Config_exports.h11
-rw-r--r--net/unfs3/files/patch-Config_exports.l18
2 files changed, 29 insertions, 0 deletions
diff --git a/net/unfs3/files/patch-Config_exports.h b/net/unfs3/files/patch-Config_exports.h
new file mode 100644
index 000000000000..fb11e191d1df
--- /dev/null
+++ b/net/unfs3/files/patch-Config_exports.h
@@ -0,0 +1,11 @@
+--- Config/exports.h.orig 2021-09-06 22:17:18 UTC
++++ Config/exports.h
+@@ -22,7 +22,7 @@
+ extern exports exports_nfslist;
+ /* Options cache */
+ extern int exports_opts;
+-const char *export_path;
++extern const char *export_path;
+ extern uint32 export_fsid;
+ extern uint32 export_password_hash;
+
diff --git a/net/unfs3/files/patch-Config_exports.l b/net/unfs3/files/patch-Config_exports.l
new file mode 100644
index 000000000000..5d4edc546521
--- /dev/null
+++ b/net/unfs3/files/patch-Config_exports.l
@@ -0,0 +1,18 @@
+--- Config/exports.l.orig 2021-09-06 22:20:46 UTC
++++ Config/exports.l
+@@ -14,7 +14,7 @@
+
+ #define YY_NO_UNPUT
+
+-YYSTYPE yylval;
++extern YYSTYPE yylval;
+ extern int e_error;
+
+ /*
+@@ -67,4 +67,4 @@ OLDNET {IP}"/"{IP}
+
+ . { return *yytext; }
+ \n { return '\n'; }
+-
+\ No newline at end of file
++