Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 269992 | Differences between
and this patch

Collapse All | Expand All

(-)Python-2.6.2/Lib/stat.py (-3 / +3 lines)
Lines 31-39 Link Here
31
S_IFCHR  = 0020000
31
S_IFCHR  = 0020000
32
S_IFBLK  = 0060000
32
S_IFBLK  = 0060000
33
S_IFREG  = 0100000
33
S_IFREG  = 0100000
34
S_IFIFO  = 0010000
34
S_IFIFO  = 0120000
35
S_IFLNK  = 0120000
35
S_IFLNK  = 0160000
36
S_IFSOCK = 0140000
36
S_IFSOCK = 0010000
37
37
38
# Functions to test for each file type
38
# Functions to test for each file type
39
39
(-)Python-2.6.2/Makefile.pre.in (-2 / +3 lines)
Lines 352-358 Link Here
352
352
353
# Default target
353
# Default target
354
all:		build_all
354
all:		build_all
355
build_all:	$(BUILDPYTHON) oldsharedmods sharedmods
355
build_all:	$(BUILDPYTHON)
356
356
357
# Compile a binary with gcc profile guided optimization.
357
# Compile a binary with gcc profile guided optimization.
358
profile-opt:
358
profile-opt:
Lines 386-391 Link Here
386
		$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
386
		$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
387
			Modules/python.o \
387
			Modules/python.o \
388
			$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
388
			$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
389
		stack -S 512K $@
389
390
390
platform: $(BUILDPYTHON)
391
platform: $(BUILDPYTHON)
391
	$(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
392
	$(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
Lines 730-736 Link Here
730
731
731
# Install almost everything without disturbing previous versions
732
# Install almost everything without disturbing previous versions
732
altinstall:	@FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall libainstall \
733
altinstall:	@FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall libainstall \
733
                sharedinstall oldsharedinstall @FRAMEWORKALTINSTALLLAST@
734
                $(DESTSHARED) @FRAMEWORKALTINSTALLLAST@
734
735
735
# Install shared libraries enabled by Setup
736
# Install shared libraries enabled by Setup
736
DESTDIRS=	$(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)
737
DESTDIRS=	$(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)
(-)Python-2.6.2/Modules/Setup.dist (-40 / +43 lines)
Lines 162-191 Link Here
162
# it, depending on your system -- see the GNU readline instructions.
162
# it, depending on your system -- see the GNU readline instructions.
163
# It's okay for this to be a shared library, too.
163
# It's okay for this to be a shared library, too.
164
164
165
#readline readline.c -lreadline -ltermcap
165
readline readline.c -lreadline -lncurses
166
166
167
167
168
# Modules that should always be present (non UNIX dependent):
168
# Modules that should always be present (non UNIX dependent):
169
169
170
#array arraymodule.c	# array objects
170
array arraymodule.c	# array objects
171
#cmath cmathmodule.c # -lm # complex math library functions
171
cmath cmathmodule.c # -lm # complex math library functions
172
#math mathmodule.c # -lm # math library functions, e.g. sin()
172
math mathmodule.c # -lm # math library functions, e.g. sin()
173
#_struct _struct.c	# binary structure packing/unpacking
173
_struct _struct.c	# binary structure packing/unpacking
174
#time timemodule.c # -lm # time operations and variables
174
time timemodule.c # -lm # time operations and variables
175
#operator operator.c	# operator.add() and similar goodies
175
operator operator.c	# operator.add() and similar goodies
176
#_weakref _weakref.c	# basic weak reference support
176
_weakref _weakref.c	# basic weak reference support
177
#_testcapi _testcapimodule.c    # Python C API test module
177
_testcapi _testcapimodule.c    # Python C API test module
178
#_random _randommodule.c	# Random number generator
178
_random _randommodule.c	# Random number generator
179
#_collections _collectionsmodule.c # Container types
179
_collections _collectionsmodule.c # Container types
180
#itertools itertoolsmodule.c	# Functions creating iterators for efficient looping 
180
itertools itertoolsmodule.c	# Functions creating iterators for efficient looping 
181
#strop stropmodule.c		# String manipulations
181
strop stropmodule.c		# String manipulations
182
#_functools _functoolsmodule.c	# Tools for working with functions and callable objects
182
_functools _functoolsmodule.c	# Tools for working with functions and callable objects
183
#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c	# elementtree accelerator
183
_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c	# elementtree accelerator
184
#_pickle _pickle.c	# pickle accelerator
184
#_pickle _pickle.c	# pickle accelerator
185
#datetime datetimemodule.c	# date/time type
185
datetime datetimemodule.c	# date/time type
186
#_bisect _bisectmodule.c	# Bisection algorithms
186
_bisect _bisectmodule.c	# Bisection algorithms
187
187
188
#unicodedata unicodedata.c    # static Unicode character database
188
unicodedata unicodedata.c    # static Unicode character database
189
189
190
# access to ISO C locale support
190
# access to ISO C locale support
191
#_locale _localemodule.c  # -lintl
191
#_locale _localemodule.c  # -lintl
Lines 195-213 Link Here
195
# (If you have a really backward UNIX, select and socket may not be
195
# (If you have a really backward UNIX, select and socket may not be
196
# supported...)
196
# supported...)
197
197
198
#fcntl fcntlmodule.c	# fcntl(2) and ioctl(2)
198
fcntl fcntlmodule.c	# fcntl(2) and ioctl(2)
199
#spwd spwdmodule.c		# spwd(3) 
199
spwd spwdmodule.c		# spwd(3) 
200
#grp grpmodule.c		# grp(3)
200
grp grpmodule.c		# grp(3)
201
#select selectmodule.c	# select(2); not on ancient System V
201
select selectmodule.c	# select(2); not on ancient System V
202
202
203
# Memory-mapped files (also works on Win32).
203
# Memory-mapped files (also works on Win32).
204
#mmap mmapmodule.c
204
#mmap mmapmodule.c
205
205
206
# CSV file helper
206
# CSV file helper
207
#_csv _csv.c
207
_csv _csv.c
208
208
209
# Socket module helper for socket(2)
209
# Socket module helper for socket(2)
210
#_socket socketmodule.c
210
_socket socketmodule.c
211
211
212
# Socket module helper for SSL support; you must comment out the other
212
# Socket module helper for SSL support; you must comment out the other
213
# socket line above, and possibly edit the SSL variable:
213
# socket line above, and possibly edit the SSL variable:
Lines 221-235 Link Here
221
#
221
#
222
# First, look at Setup.config; configure may have set this for you.
222
# First, look at Setup.config; configure may have set this for you.
223
223
224
#crypt cryptmodule.c # -lcrypt	# crypt(3); needs -lcrypt on some systems
224
crypt cryptmodule.c # -lcrypt	# crypt(3); needs -lcrypt on some systems
225
225
226
226
227
# Some more UNIX dependent modules -- off by default, since these
227
# Some more UNIX dependent modules -- off by default, since these
228
# are not supported by all UNIX systems:
228
# are not supported by all UNIX systems:
229
229
230
#nis nismodule.c -lnsl	# Sun yellow pages -- not everywhere
230
#nis nismodule.c -lnsl	# Sun yellow pages -- not everywhere
231
#termios termios.c	# Steen Lumholt's termios module
231
termios termios.c	# Steen Lumholt's termios module
232
#resource resource.c	# Jeremy Hylton's rlimit interface
232
resource resource.c	# Jeremy Hylton's rlimit interface
233
233
234
234
235
# Multimedia modules -- off by default.
235
# Multimedia modules -- off by default.
Lines 248-261 Link Here
248
# Message-Digest Algorithm, described in RFC 1321.  The necessary files
248
# Message-Digest Algorithm, described in RFC 1321.  The necessary files
249
# md5.c and md5.h are included here.
249
# md5.c and md5.h are included here.
250
250
251
#_md5 md5module.c md5.c
251
_md5 md5module.c md5.c
252
252
253
253
254
# The _sha module implements the SHA checksum algorithms.
254
# The _sha module implements the SHA checksum algorithms.
255
# (NIST's Secure Hash Algorithms.)
255
# (NIST's Secure Hash Algorithms.)
256
#_sha shamodule.c
256
_sha shamodule.c
257
#_sha256 sha256module.c
257
_sha256 sha256module.c
258
#_sha512 sha512module.c
258
_sha512 sha512module.c
259
259
260
260
261
# SGI IRIX specific modules -- off by default.
261
# SGI IRIX specific modules -- off by default.
Lines 307-313 Link Here
307
307
308
# George Neville-Neil's timing module:
308
# George Neville-Neil's timing module:
309
309
310
#timing timingmodule.c
310
timing timingmodule.c
311
311
312
312
313
# The _tkinter module.
313
# The _tkinter module.
Lines 354-360 Link Here
354
#	-lX11
354
#	-lX11
355
355
356
# Lance Ellinghaus's syslog module
356
# Lance Ellinghaus's syslog module
357
#syslog syslogmodule.c		# syslog daemon interface
357
syslog syslogmodule.c		# syslog daemon interface
358
358
359
359
360
# Curses support, requring the System V version of curses, often
360
# Curses support, requring the System V version of curses, often
Lines 363-371 Link Here
363
#
363
#
364
# First, look at Setup.config; configure may have set this for you.
364
# First, look at Setup.config; configure may have set this for you.
365
365
366
#_curses _cursesmodule.c -lcurses -ltermcap
366
# _curses _cursesmodule.c -lcurses -ltermcap
367
# Wrapper for the panel library that's part of ncurses and SYSV curses.
367
# Wrapper for the panel library that's part of ncurses and SYSV curses.
368
#_curses_panel _curses_panel.c -lpanel -lncurses 
368
# _curses_panel _curses_panel.c -lpanel -lncurses 
369
369
370
370
371
# Generic (SunOS / SVR4) dynamic loading module.
371
# Generic (SunOS / SVR4) dynamic loading module.
Lines 430-443 Link Here
430
430
431
431
432
# Helper module for various ascii-encoders
432
# Helper module for various ascii-encoders
433
#binascii binascii.c
433
binascii binascii.c
434
434
435
# Fred Drake's interface to the Python parser
435
# Fred Drake's interface to the Python parser
436
#parser parsermodule.c
436
parser parsermodule.c
437
437
438
# cStringIO and cPickle
438
# cStringIO and cPickle
439
#cStringIO cStringIO.c
439
cStringIO cStringIO.c
440
#cPickle cPickle.c
440
cPickle cPickle.c
441
441
442
442
443
# Lee Busby's SIGFPE modules.
443
# Lee Busby's SIGFPE modules.
Lines 493-495 Link Here
493
493
494
# Another example -- the 'xxsubtype' module shows C-level subtyping in action
494
# Another example -- the 'xxsubtype' module shows C-level subtyping in action
495
xxsubtype xxsubtype.c
495
xxsubtype xxsubtype.c
496
497
datetime datetimemodule.c
498
bz2 bz2module.c

Return to bug 269992