|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
#
|
|
|
# Filename: package/.../python/python-setup.patch
|
|
|
# Copyright (C) 2008 - 2013 The OpenSDE Project
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
#
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
#
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
# version.
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
--- Python-2.7.5/Modules/Setup.dist.orig 2013-05-12 05:32:49.000000000 +0200
|
|
|
+++ Python-2.7.5/Modules/Setup.dist 2013-08-22 10:53:00.800796248 +0200
|
|
|
@@ -153,7 +153,7 @@
|
|
|
# modules are to be built as shared libraries (see above for more
|
|
|
# detail; also note that *static* reverses this effect):
|
|
|
|
|
|
-#*shared*
|
|
|
+*shared*
|
|
|
|
|
|
# GNU readline. Unlike previous Python incarnations, GNU readline is
|
|
|
# now incorporated in an optional module, configured in the Setup file
|
|
|
@@ -211,29 +211,29 @@
|
|
|
#_csv _csv.c
|
|
|
|
|
|
# Socket module helper for socket(2)
|
|
|
-#_socket socketmodule.c timemodule.c
|
|
|
+_socket socketmodule.c timemodule.c
|
|
|
|
|
|
# Socket module helper for SSL support; you must comment out the other
|
|
|
# socket line above, and possibly edit the SSL variable:
|
|
|
-#SSL=/usr/local/ssl
|
|
|
-#_ssl _ssl.c \
|
|
|
-# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
|
|
|
-# -L$(SSL)/lib -lssl -lcrypto
|
|
|
+SSL=/usr
|
|
|
+_ssl _ssl.c \
|
|
|
+ -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
|
|
|
+ -L$(SSL)/lib -lssl -lcrypto
|
|
|
|
|
|
# The crypt module is now disabled by default because it breaks builds
|
|
|
# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
|
|
|
#
|
|
|
# First, look at Setup.config; configure may have set this for you.
|
|
|
|
|
|
-#crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
|
|
|
+crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
|
|
|
|
|
|
|
|
|
# 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
|
|
|
+termios termios.c # Steen Lumholt's termios module
|
|
|
+resource resource.c # Jeremy Hylton's rlimit interface
|
|
|
|
|
|
|
|
|
# Multimedia modules -- off by default.
|
|
|
@@ -358,7 +358,7 @@
|
|
|
# -lX11
|
|
|
|
|
|
# Lance Ellinghaus's syslog module
|
|
|
-#syslog syslogmodule.c # syslog daemon interface
|
|
|
+syslog syslogmodule.c # syslog daemon interface
|
|
|
|
|
|
|
|
|
# Curses support, requring the System V version of curses, often
|