summaryrefslogtreecommitdiffstats
path: root/Misc/RPM/BeOpen-Python-Setup.patch
blob: f9ae8051bdf3d3c80f3f79db0c22e6c7a88ec51b (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
*** /src/python/dist/src/Modules/Setup.in	Mon Oct  9 10:40:21 2000
--- Modules/Setup.in	Mon Oct  9 16:27:33 2000
***************
*** 111,117 ****
  # modules are to be built as shared libraries (see above for more
  # detail; also note that *static* reverses this effect):
  
! #*shared*
  
  # GNU readline.  Unlike previous Python incarnations, GNU readline is
  # now incorporated in an optional module, configured in the Setup file
--- 111,117 ----
  # modules are to be built as shared libraries (see above for more
  # detail; also note that *static* reverses this effect):
  
! *shared*
  
  # GNU readline.  Unlike previous Python incarnations, GNU readline is
  # now incorporated in an optional module, configured in the Setup file
***************
*** 121,127 ****
  # it, depending on your system -- see the GNU readline instructions.
  # It's okay for this to be a shared library, too.
  
! #readline readline.c -lreadline -ltermcap
  
  
  # Modules that should always be present (non UNIX dependent):
--- 121,127 ----
  # it, depending on your system -- see the GNU readline instructions.
  # It's okay for this to be a shared library, too.
  
! readline readline.c -lreadline -ltermcap
  
  
  # Modules that should always be present (non UNIX dependent):
***************
*** 170,187 ****
  # Some more UNIX dependent modules -- off by default, since these
  # are not supported by all UNIX systems:
  
! #nis nismodule.c -lnsl	# Sun yellow pages -- not everywhere
! #termios termios.c	# Steen Lumholt's termios module
! #resource resource.c	# Jeremy Hylton's rlimit interface
  
  
  # Multimedia modules -- off by default.
  # These don't work for 64-bit platforms!!!
  # These represent audio samples or images as strings:
  
! #audioop audioop.c	# Operations on audio samples
! #imageop imageop.c	# Operations on images
! #rgbimg rgbimgmodule.c	# Read SGI RGB image files (but coded portably)
  
  
  # The md5 module implements the RSA Data Security, Inc. MD5
--- 170,187 ----
  # Some more UNIX dependent modules -- off by default, since these
  # are not supported by all UNIX systems:
  
! nis nismodule.c -lnsl	# Sun yellow pages -- not everywhere
! termios termios.c	# Steen Lumholt's termios module
! resource resource.c	# Jeremy Hylton's rlimit interface
  
  
  # Multimedia modules -- off by default.
  # These don't work for 64-bit platforms!!!
  # These represent audio samples or images as strings:
  
! audioop audioop.c	# Operations on audio samples
! imageop imageop.c	# Operations on images
! rgbimg rgbimgmodule.c	# Read SGI RGB image files (but coded portably)
  
  
  # The md5 module implements the RSA Data Security, Inc. MD5
***************
*** 255,261 ****
  
  # Linux specific modules -- off by default:
  
! #linuxaudiodev linuxaudiodev.c
  
  
  # George Neville-Neil's timing module:
--- 255,261 ----
  
  # Linux specific modules -- off by default:
  
! linuxaudiodev linuxaudiodev.c
  
  
  # George Neville-Neil's timing module:
***************
*** 311,317 ****
  # Lance Ellinghaus's modules:
  
  rotor rotormodule.c		# enigma-inspired encryption
! #syslog syslogmodule.c		# syslog daemon interface
  
  
  # Curses support, requring the System V version of curses, often
--- 311,317 ----
  # Lance Ellinghaus's modules:
  
  rotor rotormodule.c		# enigma-inspired encryption
! syslog syslogmodule.c		# syslog daemon interface
  
  
  # Curses support, requring the System V version of curses, often
***************
*** 319,325 ****
  # instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include
  # -L/usr/5lib before -lcurses).
  
! #_curses _cursesmodule.c -lcurses -ltermcap
  
  
  
--- 319,325 ----
  # instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include
  # -L/usr/5lib before -lcurses).
  
! _curses _cursesmodule.c -lcurses -ltermcap
  
  
  
***************
*** 349,355 ****
  
  # Anthony Baxter's gdbm module.  GNU dbm(3) will require -lgdbm:
  
! #gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
  
  
  # Berkeley DB interface.
--- 349,355 ----
  
  # Anthony Baxter's gdbm module.  GNU dbm(3) will require -lgdbm:
  
! gdbm gdbmmodule.c -I/usr/include -L/usr/lib -lgdbm
  
  
  # Berkeley DB interface.
***************
*** 406,412 ****
  # Andrew Kuchling's zlib module.
  # This require zlib 1.1.3 (or later).
  # See http://www.cdrom.com/pub/infozip/zlib/
! #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
  
  # Interface to the Expat XML parser
  #
--- 406,412 ----
  # Andrew Kuchling's zlib module.
  # This require zlib 1.1.3 (or later).
  # See http://www.cdrom.com/pub/infozip/zlib/
! zlib zlibmodule.c -I/usr/include -L/usr/lib -lz
  
  # Interface to the Expat XML parser
  #
***************
*** 427,434 ****
  #
  #    ar cr libexpat.a xmltok/*.o xmlparse/*.o
  #
! #EXPAT_DIR=/usr/local/src/expat
! #pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat
  
  
  # Example -- included for reference only:
--- 427,433 ----
  #
  #    ar cr libexpat.a xmltok/*.o xmlparse/*.o
  #
! pyexpat pyexpat.c -I/usr/local/include/xmlparse -L/usr/local/lib -lexpat
  
  
  # Example -- included for reference only: