summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-05-03 11:20:56 +0200
committerFabian Groffen <grobian@gentoo.org>2018-05-03 11:20:56 +0200
commit86500c00c3e1ad35d5cf8b619310d7243deb80d5 (patch)
tree849f9ae26310eecfb7b9ebe790a02752129a6d1a /dev-lang/python/files/2.7-disable-nis.patch
parentdev-libs/libgpg-error: fix configure/build on Solaris 10 (diff)
downloadprefix-86500c00c3e1ad35d5cf8b619310d7243deb80d5.tar.gz
prefix-86500c00c3e1ad35d5cf8b619310d7243deb80d5.tar.bz2
prefix-86500c00c3e1ad35d5cf8b619310d7243deb80d5.zip
dev-lang/python: sync python 2.7
Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6
Diffstat (limited to 'dev-lang/python/files/2.7-disable-nis.patch')
-rw-r--r--dev-lang/python/files/2.7-disable-nis.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-lang/python/files/2.7-disable-nis.patch b/dev-lang/python/files/2.7-disable-nis.patch
new file mode 100644
index 0000000000..5a6cb3e403
--- /dev/null
+++ b/dev-lang/python/files/2.7-disable-nis.patch
@@ -0,0 +1,21 @@
+--- a/setup.py
++++ b/setup.py
+@@ -1346,17 +1346,7 @@ class PyBuildExt(build_ext):
+ else:
+ missing.append('resource')
+
+- # Sun yellow pages. Some systems have the functions in libc.
+- if (host_platform not in ['cygwin', 'atheos', 'qnx6'] and
+- find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None):
+- if (self.compiler.find_library_file(lib_dirs, 'nsl')):
+- libs = ['nsl']
+- else:
+- libs = []
+- exts.append( Extension('nis', ['nismodule.c'],
+- libraries = libs) )
+- else:
+- missing.append('nis')
++ missing.append('nis')
+ else:
+ missing.extend(['nis', 'resource', 'termios'])
+