mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 11:06:39 -04:00
Move a variable definition from header file to source file. This fixes the build on FreeBSD 13+. Add a missing LIB_DEPENDS entry.
11 lines
335 B
C
11 lines
335 B
C
--- src/readln.h.orig 2023-04-17 14:45:07 UTC
|
|
+++ src/readln.h
|
|
@@ -29,7 +29,7 @@ typedef struct {
|
|
char *doc; /* Documentation for this function. */
|
|
} COMMAND;
|
|
|
|
-COMMAND *thecommandlist;
|
|
+extern COMMAND *thecommandlist;
|
|
|
|
COMMAND *find_command(char *name, COMMAND *commands);
|
|
int execute_line (char *line, COMMAND *commands);
|