ports/textproc/refdb/files/patch-src_readln.c
Robert Clausecker ba66f05708 textproc/refdb: fix build with -fno-common
Move a variable definition from header file to source file.
This fixes the build on FreeBSD 13+.
Add a missing LIB_DEPENDS entry.
2023-04-18 23:55:28 +02:00

10 lines
245 B
C

--- src/readln.c.orig 2023-04-17 14:45:25 UTC
+++ src/readln.c
@@ -27,6 +27,7 @@
#include "strfncs.h"
extern COMMAND commands[];
+COMMAND *thecommandlist;
/* Execute a command line. */
int execute_line (char *line, COMMAND *commandlist)