dont-search-platform-path.diff: Don't use Python.h from the platform specific path.

This commit is contained in:
Timo Aaltonen
2013-02-12 21:08:09 +02:00
parent eddcdeac37
commit 2ceed98412
3 changed files with 14 additions and 0 deletions

2
debian/changelog vendored
View File

@@ -31,5 +31,7 @@ freeipa (3.1.2-1) UNRELEASED; urgency=low
* Add no-test-lang.diff, test_lang is gone.
* correct-python-path.diff: Fallback on the correct path if rpm query
fails.
* dont-search-platform-path.diff: Don't use Python.h from the
platform specific path.
-- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 01 Nov 2011 10:52:25 -0400

View File

@@ -0,0 +1,11 @@
--- a/ipapython/py_default_encoding/setup.py
+++ b/ipapython/py_default_encoding/setup.py
@@ -22,7 +22,7 @@ from distutils.sysconfig import get_pyth
import sys
import os
-python_header = os.path.join(get_python_inc(plat_specific=1), 'Python.h')
+python_header = os.path.join(get_python_inc(plat_specific=0), 'Python.h')
if not os.path.exists(python_header):
sys.exit("Cannot find Python development packages that provide Python.h")

View File

@@ -5,3 +5,4 @@ fix-string-format.diff
fix-nss-include.diff
no-test-lang.diff
correct-python-path.diff
dont-search-platform-path.diff