File: glibc.patch

package info (click to toggle)
ircd 2.10.02-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,228 kB
  • ctags: 2,087
  • sloc: ansic: 29,122; makefile: 664; sh: 307; perl: 18
file content (53 lines) | stat: -rw-r--r-- 1,732 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
This is glibc.patch.

Modified files: .patches include/sys.h

Date: Fri, 26 Sep 1997 23:21:05 +1200 (NZST)
From: "J. Sean Connell" <ankh@canuck.gen.nz>
Subject: [Coder-Com] Tiny patch for 2.10.01

This is to make it compile under GNU libc.
Also, with libc6 under Linux (and possibly other glibc2 flavors, although I
don't have any at hand), -lresolv needs to be added to the ld flags.

--
J. S. Connell      | Systems Adminstrator, ICONZ.  Any opinions stated above
ankh@canuck.gen.nz | are not my employers', not my boyfriends', my God's, my
ankh@iconz.co.nz   | friends', and probably not even my own.

Index: ircu2.10.01+/.patches
===================================================================
RCS file: /usr/src/CVS/ircd/.patches,v
retrieving revision 1.249
diff -c -r1.249 .patches
*** ircu2.10.01+/.patches 1997/10/07 01:00:21 1.249 
--- ircu2.10.01+/.patches 1997/10/07 01:05:42 
***************
*** 1 ****
! ircu2.10.01+.config6-7.config7-8.lgline3.iwho.limit
--- 1 ----
! ircu2.10.01+.config6-7.config7-8.lgline3.iwho.limit.glibc
Index: ircu2.10.01+/include/sys.h
===================================================================
RCS file: /usr/src/CVS/ircd/include/sys.h,v
retrieving revision 1.13
diff -c -r1.13 sys.h
*** ircu2.10.01+/include/sys.h 1997/09/10 00:36:39 1.13 
--- ircu2.10.01+/include/sys.h 1997/10/07 01:05:32 
***************
*** 140,146 ****
  #endif
  
  #if !defined(__FreeBSD__) && !defined(__NetBSD__) && \
!     !defined(__bsdi__) && !defined(__alpha)
  extern char *sys_errlist[];
  #endif
  
--- 140,146 ----
  #endif
  
  #if !defined(__FreeBSD__) && !defined(__NetBSD__) && \
!     !defined(__bsdi__) && !defined(__alpha) && !defined(__GLIBC__)
  extern char *sys_errlist[];
  #endif