summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-01-30 07:25:43 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-01-30 07:25:43 +0000
commitbffbb22a6e3f5ca20e40a207f4e9fcbcf578e2e3 (patch)
tree90b09946efec6d15df233c4e24781a8a8f1e554c /python
parent61e28b41f168fdc9f437bae6fd6ac490d0ad1a7f (diff)
INTEGRATION: CWS buildfixes02 (1.13.2); FILE MERGED
2006/11/24 09:47:03 thb 1.13.2.1: #i10000# _XOPEN defines and C++ are incompatible - Solaris10 headers are much more strict in this regard
Diffstat (limited to 'python')
-rwxr-xr-xpython/Python-2.3.4.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/python/Python-2.3.4.patch b/python/Python-2.3.4.patch
index 27a2bb2f314b..17e4e8d125dc 100755
--- a/python/Python-2.3.4.patch
+++ b/python/Python-2.3.4.patch
@@ -240,6 +240,48 @@
fi
#
+*** misc/Python-2.3.4/pyconfig.h.in Mon Mar 22 21:20:32 2004
+--- misc/build/Python-2.3.4/pyconfig.h.in Mon Oct 30 11:23:14 2006
+***************
+*** 841,846 ****
+--- 841,849 ----
+ /* Define _OSF_SOURCE to get the makedev macro. */
+ #undef _OSF_SOURCE
+
++ /* _XOPEN defines and C++ are incompatibl */
++ #ifndef __cplusplus
++
+ /* Define to 2 if the system does not provide POSIX.1 features except with
+ this defined. */
+ #undef _POSIX_1_SOURCE
+***************
+*** 854,862 ****
+--- 857,870 ----
+ /* Define if you have POSIX threads, and your system does not define that. */
+ #undef _POSIX_THREADS
+
++ #endif
++
+ /* Define to force use of thread-safe errno, h_errno, and other functions */
+ #undef _REENTRANT
+
++ /* _XOPEN defines and C++ are incompatibl */
++ #ifndef __cplusplus
++
+ /* Define to the level of X/Open that your system supports */
+ #undef _XOPEN_SOURCE
+
+***************
+*** 863,868 ****
+--- 871,878 ----
+ /* Define to activate Unix95-and-earlier features */
+ #undef _XOPEN_SOURCE_EXTENDED
+
++ #endif
++
+ /* Define on FreeBSD to activate all library features */
+ #undef __BSD_VISIBLE
+
*** misc/Python-2.3.4/Include/pyport.h Tue Sep 30 16:56:50 2003
--- misc/build/Python-2.3.4/Include/pyport.h Thu Jun 29 11:02:18 2006
***************