Import of pkgsrc-2015Q2

This commit is contained in:
2015-08-30 02:56:09 -07:00
committed by Lionel Sambuc
parent 4af1cdf7a9
commit f641581404
15409 changed files with 267784 additions and 121624 deletions

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-Include_pyerrors.h,v 1.1 2013/04/17 13:21:05 obache Exp $
$NetBSD: patch-Include_pyerrors.h,v 1.2 2015/04/24 03:01:36 rodent Exp $
* from cygport 2.6.5-export-PySignal_SetWakeupFd.patch
--- Include/pyerrors.h.orig 2013-04-06 14:02:25.000000000 +0000
--- Include/pyerrors.h.orig 2014-12-10 15:59:32.000000000 +0000
+++ Include/pyerrors.h
@@ -231,7 +231,7 @@ PyAPI_FUNC(int) PyErr_CheckSignals(void)
PyAPI_FUNC(void) PyErr_SetInterrupt(void);

View File

@@ -1,9 +1,9 @@
$NetBSD: patch-Include_pyport.h,v 1.2 2014/07/02 09:53:16 adam Exp $
$NetBSD: patch-Include_pyport.h,v 1.3 2015/04/24 03:01:36 rodent Exp $
SunOS defines gethostname in <unistd.h>
http://bugs.python.org/issue19561
--- Include/pyport.h.orig 2014-05-31 18:58:38.000000000 +0000
--- Include/pyport.h.orig 2014-12-10 15:59:32.000000000 +0000
+++ Include/pyport.h
@@ -640,11 +640,6 @@ Please be conservative with adding new o
in platform-specific #ifdefs.

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-Lib_distutils_unixccompiler.py,v 1.2 2013/09/10 14:22:30 joerg Exp $
$NetBSD: patch-Lib_distutils_unixccompiler.py,v 1.3 2015/04/24 03:01:36 rodent Exp $
* from cygport 2.7.3-dylib.patch
--- Lib/distutils/unixccompiler.py.orig 2013-05-12 03:32:42.000000000 +0000
--- Lib/distutils/unixccompiler.py.orig 2014-12-10 15:59:34.000000000 +0000
+++ Lib/distutils/unixccompiler.py
@@ -82,6 +82,7 @@ class UnixCCompiler(CCompiler):
static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s"

View File

@@ -1,23 +0,0 @@
$NetBSD: patch-Lib_dumbdb.py,v 1.1 2015/03/03 17:19:58 snj Exp $
http://bugs.python.org/issue22885
--- Lib/dumbdbm.py.orig 2015-03-03 09:05:52.000000000 -0800
+++ Lib/dumbdbm.py 2015-03-03 09:10:02.000000000 -0800
@@ -21,6 +21,7 @@ is read when the database is opened, and
"""
+import ast as _ast
import os as _os
import __builtin__
import UserDict
@@ -85,7 +86,7 @@ class _Database(UserDict.DictMixin):
with f:
for line in f:
line = line.rstrip()
- key, pos_and_siz_pair = eval(line)
+ key, pos_and_siz_pair = _ast.literal_eval(line)
self._index[key] = pos_and_siz_pair
# Write the index dict to the directory file. The original directory

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-Lib_multiprocessing_process.py,v 1.1 2014/07/17 15:26:49 ryoon Exp $
$NetBSD: patch-Lib_multiprocessing_process.py,v 1.2 2015/04/24 03:01:36 rodent Exp $
--- Lib/multiprocessing/process.py.orig 2014-06-30 02:05:29.000000000 +0000
--- Lib/multiprocessing/process.py.orig 2014-12-10 15:59:39.000000000 +0000
+++ Lib/multiprocessing/process.py
@@ -306,7 +306,15 @@ class _MainProcess(Process):
self._popen = None

View File

@@ -1,21 +0,0 @@
$NetBSD: patch-Lib_test_test__dumbdbm.py,v 1.1 2015/03/03 17:19:58 snj Exp $
http://bugs.python.org/issue22885
--- Lib/test/test_dumbdbm.py.orig 2015-03-03 09:05:53.000000000 -0800
+++ Lib/test/test_dumbdbm.py 2015-03-03 09:10:02.000000000 -0800
@@ -160,6 +160,14 @@ class DumbDBMTestCase(unittest.TestCase)
self.assertEqual(expected, got)
f.close()
+ def test_eval(self):
+ with open(_fname + '.dir', 'w') as stream:
+ stream.write("str(__import__('sys').stdout.write('Hacked!')), 0\n")
+ with test_support.captured_stdout() as stdout:
+ with self.assertRaises(ValueError):
+ dumbdbm.open(_fname).close()
+ self.assertEqual(stdout.getvalue(), '')
+
def tearDown(self):
_delete_files()

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-Modules_getaddrinfo.c,v 1.1 2014/07/17 15:26:49 ryoon Exp $
$NetBSD: patch-Modules_getaddrinfo.c,v 1.2 2015/04/24 03:01:36 rodent Exp $
--- Modules/getaddrinfo.c.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/getaddrinfo.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/getaddrinfo.c
@@ -66,6 +66,15 @@
#define YES 1

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-Modules_getpath.c,v 1.2 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-Modules_getpath.c,v 1.3 2015/04/24 03:01:36 rodent Exp $
* from cygport 2.7.3-getpath-exe-extension.patch
--- Modules/getpath.c.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/getpath.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/getpath.c
@@ -451,6 +451,28 @@ calculate_path(void)
if (isxfile(progpath))

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-Modules_mmapmodule.c,v 1.1 2014/07/17 15:26:49 ryoon Exp $
$NetBSD: patch-Modules_mmapmodule.c,v 1.2 2015/04/24 03:01:36 rodent Exp $
--- Modules/mmapmodule.c.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/mmapmodule.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/mmapmodule.c
@@ -23,7 +23,7 @@

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-Modules_posixmodule.c,v 1.1 2014/07/17 15:26:49 ryoon Exp $
$NetBSD: patch-Modules_posixmodule.c,v 1.2 2015/04/24 03:01:36 rodent Exp $
--- Modules/posixmodule.c.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/posixmodule.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/posixmodule.c
@@ -317,6 +317,10 @@ extern int lstat(const char *, struct st
#define PARSE_PID "i"

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-Modules_socketmodule.c,v 1.4 2014/07/17 15:26:49 ryoon Exp $
$NetBSD: patch-Modules_socketmodule.c,v 1.5 2015/04/24 03:01:36 rodent Exp $
--- Modules/socketmodule.c.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/socketmodule.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/socketmodule.c
@@ -244,7 +244,7 @@ shutdown(how) -- shut down traffic in on
@@ -248,7 +248,7 @@ shutdown(how) -- shut down traffic in on
/* Irix 6.5 fails to define this variable at all. This is needed
for both GCC and SGI's compiler. I'd say that the SGI headers
are just busted. Same thing for Solaris. */

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-aa,v 1.1.1.1 2011/02/22 08:52:01 obache Exp $
$NetBSD: patch-aa,v 1.2 2015/04/24 03:01:36 rodent Exp $
--- Include/py_curses.h.orig 2010-03-25 00:54:54.000000000 +0000
--- Include/py_curses.h.orig 2014-12-10 15:59:32.000000000 +0000
+++ Include/py_curses.h
@@ -44,6 +44,21 @@
#endif

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-ab,v 1.3 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-ab,v 1.4 2015/04/24 03:01:36 rodent Exp $
--- Lib/distutils/command/build_ext.py.orig 2014-06-30 02:05:25.000000000 +0000
--- Lib/distutils/command/build_ext.py.orig 2014-12-10 15:59:34.000000000 +0000
+++ Lib/distutils/command/build_ext.py
@@ -511,8 +511,19 @@ class build_ext (Command):
# that go into the mix.

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-ad,v 1.2 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-ad,v 1.3 2015/04/24 03:01:36 rodent Exp $
Add ability to parse unsigned integers as externalized by NetBSD proplib(3).
--- Lib/plistlib.py.orig 2014-06-30 02:05:30.000000000 +0000
--- Lib/plistlib.py.orig 2014-12-10 15:59:39.000000000 +0000
+++ Lib/plistlib.py
@@ -463,7 +463,7 @@ class PlistParser:
def end_false(self):

View File

@@ -1,9 +1,9 @@
$NetBSD: patch-ae,v 1.2 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-ae,v 1.3 2015/04/24 03:01:36 rodent Exp $
XXXbjs: I use amd64, and audioop is broken on 64-bit platforms.
Thus, this needs to be tested.
--- Modules/sunaudiodev.c.orig 2014-06-30 02:05:44.000000000 +0000
--- Modules/sunaudiodev.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/sunaudiodev.c
@@ -224,7 +224,11 @@ sad_ibufcount(sadobject *self)
{

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-ah,v 1.3 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-ah,v 1.4 2015/04/24 03:01:36 rodent Exp $
--- Modules/_cursesmodule.c.orig 2014-06-30 02:05:41.000000000 +0000
--- Modules/_cursesmodule.c.orig 2014-12-10 15:59:53.000000000 +0000
+++ Modules/_cursesmodule.c
@@ -322,17 +322,9 @@ Window_NoArg2TupleReturnFunction(getpary

View File

@@ -1,4 +1,4 @@
$NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
$NetBSD: patch-al,v 1.17 2015/05/24 07:44:07 adam Exp $
- recognize MirBSD, Interix
- remove special-case library version hack for FreeBSD
@@ -6,9 +6,9 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
- honor pkgsrc LDFLAGS
- other stuff not previously commented (XXX)
--- configure.orig 2014-06-30 02:05:48.000000000 +0000
--- configure.orig 2015-05-23 16:09:25.000000000 +0000
+++ configure
@@ -3252,7 +3252,7 @@ case $ac_sys_system/$ac_sys_release in
@@ -3271,7 +3271,7 @@ case $ac_sys_system/$ac_sys_release in
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
# In addition, Stefan Krah confirms that issue #1244610 exists through
# OpenBSD 4.6, but is fixed in 4.7.
@@ -17,7 +17,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
define_xopen_source=no
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
@@ -5351,15 +5351,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
@@ -5373,15 +5373,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
@@ -34,7 +34,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
hp*|HP*)
@@ -5393,6 +5388,11 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
@@ -5415,6 +5410,11 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
LDLIBRARY='libpython$(VERSION).so'
RUNSHARED=LIBPATH=`pwd`${LIBPATH:+:${LIBPATH}}
;;
@@ -46,7 +46,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
esac
else # shared is disabled
@@ -6050,8 +6050,7 @@ $as_echo "$CC" >&6; }
@@ -6072,8 +6072,7 @@ $as_echo "$CC" >&6; }
cur_target_minor=`sw_vers -productVersion | \
sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
cur_target="${cur_target_major}.${cur_target_minor}"
@@ -56,7 +56,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
then
cur_target=10.3
if test ${enable_universalsdk}; then
@@ -8209,9 +8208,9 @@ then
@@ -8231,9 +8230,9 @@ then
LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
else
# No framework, use the Python app as bundle-loader
@@ -69,7 +69,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
fi ;;
Darwin/*)
# Use -undefined dynamic_lookup whenever possible (10.3 and later).
@@ -8234,9 +8233,9 @@ then
@@ -8256,9 +8255,9 @@ then
LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
else
# No framework, use the Python app as bundle-loader
@@ -82,7 +82,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
fi
else
# building for OS X 10.3 and later
@@ -8250,7 +8249,7 @@ then
@@ -8272,7 +8271,7 @@ then
;;
Linux*|GNU*|QNX*)
LDSHARED='$(CC) -shared'
@@ -91,7 +91,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
BSD/OS*/4*)
LDSHARED="gcc -shared"
LDCXXSHARED="g++ -shared";;
@@ -8278,6 +8277,9 @@ then
@@ -8300,6 +8299,9 @@ then
;;
esac
fi;;
@@ -101,7 +101,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
NetBSD*|DragonFly*)
LDSHARED='$(CC) -shared'
LDCXXSHARED='$(CXX) -shared';;
@@ -8324,7 +8326,8 @@ then
@@ -8346,7 +8348,8 @@ then
fi;;
Linux*|GNU*) CCSHARED="-fPIC";;
BSD/OS*/4*) CCSHARED="-fpic";;
@@ -111,7 +111,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
then CCSHARED="-fPIC"
@@ -8376,11 +8379,12 @@ then
@@ -8398,11 +8401,12 @@ then
OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
@@ -125,7 +125,7 @@ $NetBSD: patch-al,v 1.15 2014/07/26 06:19:38 adam Exp $
SunOS/5*) case $CC in
*gcc*)
if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
@@ -10370,6 +10374,10 @@ int
@@ -10457,6 +10461,10 @@ int
main ()
{
int x=kqueue()

View File

@@ -1,4 +1,4 @@
$NetBSD: patch-am,v 1.18 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-am,v 1.19 2015/04/24 03:01:36 rodent Exp $
Disabled modules for normal build:
bsddb
@@ -23,7 +23,7 @@ Build the 1.85 compat module all the time against the BDB version of choice.
cygwin 2.7.3-no-libm.patch
--- setup.py.orig 2014-06-30 02:05:48.000000000 +0000
--- setup.py.orig 2014-12-10 16:00:01.000000000 +0000
+++ setup.py
@@ -33,7 +33,7 @@ host_platform = get_platform()
COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
@@ -34,7 +34,7 @@ cygwin 2.7.3-no-libm.patch
def add_dir_to_list(dirlist, dir):
"""Add the directory 'dir' to the list 'dirlist' (at the front) if
@@ -436,10 +436,15 @@ class PyBuildExt(build_ext):
@@ -438,10 +438,15 @@ class PyBuildExt(build_ext):
os.unlink(tmpfile)
def detect_modules(self):
@@ -54,7 +54,7 @@ cygwin 2.7.3-no-libm.patch
if cross_compiling:
self.add_gcc_paths()
self.add_multiarch_paths()
@@ -551,7 +556,7 @@ class PyBuildExt(build_ext):
@@ -553,7 +558,7 @@ class PyBuildExt(build_ext):
# Check for MacOS X, which doesn't need libm.a at all
math_libs = ['m']
@@ -63,7 +63,7 @@ cygwin 2.7.3-no-libm.patch
math_libs = []
# XXX Omitted modules: gl, pure, dl, SGI-specific modules
@@ -787,11 +792,10 @@ class PyBuildExt(build_ext):
@@ -789,11 +794,10 @@ class PyBuildExt(build_ext):
libraries=math_libs) )
# Detect SSL support for the socket module (via _ssl)
search_for_ssl_incs_in = [
@@ -78,7 +78,7 @@ cygwin 2.7.3-no-libm.patch
)
if ssl_incs is not None:
krb5_h = find_file('krb5.h', inc_dirs,
@@ -799,9 +803,7 @@ class PyBuildExt(build_ext):
@@ -801,9 +805,7 @@ class PyBuildExt(build_ext):
if krb5_h:
ssl_incs += krb5_h
ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
@@ -89,7 +89,7 @@ cygwin 2.7.3-no-libm.patch
if (ssl_incs is not None and
ssl_libs is not None):
@@ -820,7 +822,7 @@ class PyBuildExt(build_ext):
@@ -822,7 +824,7 @@ class PyBuildExt(build_ext):
# look for the openssl version header on the compiler search path.
opensslv_h = find_file('openssl/opensslv.h', [],
@@ -98,7 +98,7 @@ cygwin 2.7.3-no-libm.patch
if opensslv_h:
name = os.path.join(opensslv_h[0], 'openssl/opensslv.h')
if host_platform == 'darwin' and is_macosx_sdk_path(name):
@@ -920,175 +922,6 @@ class PyBuildExt(build_ext):
@@ -922,175 +924,6 @@ class PyBuildExt(build_ext):
else:
raise ValueError("unknown major BerkeleyDB version", major)
@@ -274,7 +274,7 @@ cygwin 2.7.3-no-libm.patch
# The sqlite interface
sqlite_setup_debug = False # verbose debug prints from this script?
@@ -1205,35 +1038,39 @@ class PyBuildExt(build_ext):
@@ -1207,35 +1040,39 @@ class PyBuildExt(build_ext):
# we do not build this one. Otherwise this build will pick up
# the more recent berkeleydb's db.h file first in the include path
# when attempting to compile and it will fail.
@@ -338,7 +338,7 @@ cygwin 2.7.3-no-libm.patch
config_args = [arg.strip("'")
for arg in sysconfig.get_config_var("CONFIG_ARGS").split()]
dbm_args = [arg for arg in config_args
@@ -1245,7 +1082,7 @@ class PyBuildExt(build_ext):
@@ -1247,7 +1084,7 @@ class PyBuildExt(build_ext):
dbmext = None
for cand in dbm_order:
if cand == "ndbm":
@@ -347,7 +347,7 @@ cygwin 2.7.3-no-libm.patch
# Some systems have -lndbm, others have -lgdbm_compat,
# others don't have either
if self.compiler.find_library_file(lib_dirs,
@@ -1289,18 +1126,14 @@ class PyBuildExt(build_ext):
@@ -1291,18 +1128,14 @@ class PyBuildExt(build_ext):
libraries = gdbm_libs)
break
elif cand == "bdb":
@@ -374,7 +374,7 @@ cygwin 2.7.3-no-libm.patch
if dbmext is not None:
exts.append(dbmext)
else:
@@ -2228,9 +2061,9 @@ def main():
@@ -2230,9 +2063,9 @@ def main():
ext_modules=[Extension('_struct', ['_struct.c'])],
# Scripts to install

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-an,v 1.2 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-an,v 1.3 2015/04/24 03:01:36 rodent Exp $
--- Modules/makesetup.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/makesetup.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/makesetup
@@ -164,6 +164,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
-rpath) libs="$libs $arg"; skip=libs;;

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-ao,v 1.5 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-ao,v 1.6 2015/04/24 03:01:36 rodent Exp $
--- Lib/distutils/util.py.orig 2014-06-30 02:05:26.000000000 +0000
--- Lib/distutils/util.py.orig 2014-12-10 15:59:35.000000000 +0000
+++ Lib/distutils/util.py
@@ -101,6 +101,8 @@ def get_platform ():
osname, release, machine = _osx_support.get_platform_osx(

View File

@@ -1,12 +1,12 @@
$NetBSD: patch-au,v 1.7 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-au,v 1.8 2015/04/24 03:01:36 rodent Exp $
Fix for unpriviliged build.
http://hg.python.org/cpython/rev/a0f43f4481e0
--- Makefile.pre.in.orig 2014-06-30 02:05:39.000000000 +0000
--- Makefile.pre.in.orig 2014-12-10 15:59:50.000000000 +0000
+++ Makefile.pre.in
@@ -499,7 +499,7 @@ gdbhooks: $(BUILDPYTHON)-gdb.py
@@ -512,7 +512,7 @@ gdbhooks: $(BUILDPYTHON)-gdb.py
SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py
$(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
@@ -15,7 +15,7 @@ http://hg.python.org/cpython/rev/a0f43f4481e0
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
# minimal framework (not including the Lib directory and such) in the current
@@ -890,7 +890,8 @@ altbininstall: $(BUILDPYTHON)
@@ -922,7 +922,8 @@ altbininstall: $(BUILDPYTHON)
(cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) $(LDLIBRARY)) \
fi \
fi; \

View File

@@ -1,9 +1,9 @@
$NetBSD: patch-av,v 1.2 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-av,v 1.3 2015/04/24 03:01:36 rodent Exp $
Add a knob (enviroment variable) for disabling installation of egg metadata
in extensions until we have infrastructure in place for dealing w/ it.
--- Lib/distutils/command/install.py.orig 2014-06-30 02:05:25.000000000 +0000
--- Lib/distutils/command/install.py.orig 2014-12-10 15:59:34.000000000 +0000
+++ Lib/distutils/command/install.py
@@ -666,7 +666,8 @@ class install (Command):
('install_headers', has_headers),

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-aw,v 1.2 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-aw,v 1.3 2015/04/24 03:01:36 rodent Exp $
--- Modules/nismodule.c.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/nismodule.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/nismodule.c
@@ -89,7 +89,7 @@ nis_mapname (char *map, int *pfix)
return map;

View File

@@ -1,10 +1,10 @@
$NetBSD: patch-ax,v 1.5 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-ax,v 1.6 2015/04/24 03:01:36 rodent Exp $
chop "-RELEASE" or "-DEVELOPMENT" from release for DragonFly.
--- Lib/sysconfig.py.orig 2014-06-30 02:05:31.000000000 +0000
--- Lib/sysconfig.py.orig 2014-12-10 15:59:40.000000000 +0000
+++ Lib/sysconfig.py
@@ -603,6 +603,8 @@ def get_platform():
@@ -607,6 +607,8 @@ def get_platform():
osname, release, machine = _osx_support.get_platform_osx(
get_config_vars(),
osname, release, machine)

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-az,v 1.4 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-az,v 1.5 2015/04/24 03:01:36 rodent Exp $
--- Modules/selectmodule.c.orig 2014-06-30 02:05:43.000000000 +0000
--- Modules/selectmodule.c.orig 2014-12-10 15:59:55.000000000 +0000
+++ Modules/selectmodule.c
@@ -1906,7 +1906,9 @@ initselect(void)
PyModule_AddIntConstant(m, "KQ_FILTER_NETDEV", EVFILT_NETDEV);

View File

@@ -1,8 +1,10 @@
$NetBSD: patch-pyconfig.h.in,v 1.3 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-pyconfig.h.in,v 1.5 2015/05/24 07:44:07 adam Exp $
--- pyconfig.h.in.orig 2014-06-30 02:05:48.000000000 +0000
Fix build with LibreSSL.
--- pyconfig.h.in.orig 2015-05-23 16:09:25.000000000 +0000
+++ pyconfig.h.in
@@ -1200,7 +1200,9 @@
@@ -1206,7 +1209,9 @@
#undef _UINT64_T
/* Define to the level of X/Open that your system supports */

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-xa,v 1.2 2014/11/02 13:31:11 spz Exp $
$NetBSD: patch-xa,v 1.3 2015/04/24 03:01:36 rodent Exp $
--- Python/thread_pthread.h.orig 2014-06-30 02:05:47.000000000 +0000
--- Python/thread_pthread.h.orig 2014-12-10 15:59:59.000000000 +0000
+++ Python/thread_pthread.h
@@ -46,6 +46,9 @@
we need to add 0 to make it work there as well. */