pine4.05 and glibc-2.0.104: no member f_basetype in struct statvfs

Jack Howarth howarth@bromo.med.uc.edu
Sat Nov 28 19:59:00 GMT 1998


Franz,
   In the past I have been working around this problem in pine by patching
as follows...

diff -uNr pine4.05/imap/src/osdep/unix/Makefile pine4.05.new/imap/src/osdep/unix
/Makefile
--- pine4.05/imap/src/osdep/unix/Makefile       Sat Nov 28 21:28:46 1998
+++ pine4.05.new/imap/src/osdep/unix/Makefile   Sat Nov 28 21:36:37 1998
@@ -655,7 +655,7 @@
        $(LN) os_$(OS).c osdepbas.c
        $(LN) log_$(LOGINPW).c osdeplog.c
        $(LN) sig_$(SIGTYPE).c siglocal.c
-       sh -c '(test -f /usr/include/sys/statvfs.h -a $(OS) != sc5 -a $(OS) != s
co) && $(LN) flocksun.c flockbsd.c || $(LN) flocksv4.c flockbsd.c'
+       sh -c '(test -f /usr/include/sys/statvfs.h -a $(OS) != sc5 -a $(OS) != s
co) && $(LN) flocksv4.c flockbsd.c || $(LN) flocksv4.c flockbsd.c'

 # Password checkers


...not the cleanest patch perhaps but it works for linux 2.1.12x.
                       Jack

-- 
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D.                                     231 Bethesda Avenue
NMR Facility Director                              Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics                              phone: (513) 558-4420
Univ. of Cincinnati College of Medicine                    fax: (513) 558-8474



More information about the Libc-hacker mailing list