fix_ftbfs.patch 434 B

1234567891011121314151617181920
  1. Description: Fix ftbfs with GCC-10
  2. Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
  3. Bug-Debian: https://bugs.debian.org/957582
  4. Forwarded: no
  5. ---
  6. --- ncftp-3.2.5.orig/sh_util/gpshare.c
  7. +++ ncftp-3.2.5/sh_util/gpshare.c
  8. @@ -28,7 +28,7 @@
  9. static int gIsAtty1 = 1, gIsAtty2 = 1;
  10. extern int gLoadedBm, gBookmarkMatchMode;
  11. -Bookmark gBm;
  12. +extern Bookmark gBm;
  13. double
  14. FileSize(double size, const char **uStr0, double *uMult0)