Re: Problem compileing cvs-1.11.5 on OpenServer 5.0.X ...S_ISSOCK patches for system.h files.

Boyd Lynn Gerber <[email protected]>
Newsgroups gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
On Thu, 8 May 2003, Boyd Lynn Gerber wrote:
> I am currently running version 1.11.  I am unable to compile cvs-1.11.5
> with gcc-2.95.3 on OpenServer 5.0.6a.  I have the same problem with .5x
> .6x and .7  I do not have any older version running currently to try.
> Below is the results of make.

Attached are the patches to fix the problem.

tt,

--
Boyd Gerber <[email protected]>
ZENEZ	1042 East Fort Union #135, Midvale Utah  84047

_______________________________________________
Bug-cvs mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-cvs
diff-system.h.patch (text/plain, 398 B)
*** diff/system.h.org Tue Sep 24 14:47:08 2002
--- diff/system.h Thu May  8 20:46:49 2003
***************
*** 38,43 ****
  #define VOID char
  #endif
  
  #if STAT_MACROS_BROKEN
  #undef S_ISBLK
  #undef S_ISCHR
--- 38,47 ----
  #define VOID char
  #endif
  
+ #ifndef S_ISSOCK
+ # define S_ISSOCK S_ISNAM
+ #endif
+ 
  #if STAT_MACROS_BROKEN
  #undef S_ISBLK
  #undef S_ISCHR
lib-system.h.patch (text/plain, 442 B)
*** lib/system.h.org Thu Sep 19 20:48:59 2002
--- lib/system.h Thu May  8 20:47:04 2003
***************
*** 14,19 ****
  #include <sys/types.h>
  #include <sys/stat.h>
  
  #ifdef STAT_MACROS_BROKEN
  #undef S_ISBLK
  #undef S_ISCHR
--- 14,23 ----
  #include <sys/types.h>
  #include <sys/stat.h>
  
+ #ifndef S_ISSOCK
+ # define S_ISSOCK S_ISNAM
+ #endif
+ 
  #ifdef STAT_MACROS_BROKEN
  #undef S_ISBLK
  #undef S_ISCHR
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.