ports/net/ncftp/patches/patch-sh_util_gpshare_c

15 lines
315 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix -fno-common build failure.
Index: sh_util/gpshare.c
--- sh_util/gpshare.c.orig
+++ sh_util/gpshare.c
@@ -28,7 +28,7 @@
static int gIsAtty1 = 1, gIsAtty2 = 1;
extern int gLoadedBm, gBookmarkMatchMode;
-Bookmark gBm;
+extern Bookmark gBm;
double
FileSize(double size, const char **uStr0, double *uMult0)