[oe-commits] org.oe.dreambox python-2.5.1: force largefile support to be available (instead of unavailable) when cross-compiling

tmbinc commit openembedded-commits at lists.openembedded.org
Sat Jul 14 10:07:52 UTC 2007


python-2.5.1: force largefile support to be available (instead of unavailable) when cross-compiling

Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: f663abe395d66825fade324af9a339677c20dab1
ViewMTN: http://monotone.openembedded.org/revision.psp?id=f663abe395d66825fade324af9a339677c20dab1
Files:
1
packages/python/python-2.5.1/forced_largefile_support.patch
packages/python/python_2.5.1.bb
Diffs:

#
# mt diff -r9891a2142dccfaa6ea119f307a2fdee2199a19ca -rf663abe395d66825fade324af9a339677c20dab1
#
# 
# 
# add_file "packages/python/python-2.5.1/forced_largefile_support.patch"
#  content [5c4a8ce05832aab0e906cf88e745d4d57ef5400b]
# 
# patch "packages/python/python_2.5.1.bb"
#  from [6b19eade825ab32f239414c5250d1013e2cbf3ab]
#    to [bc9fa97e447b42bca1cc1d8ef80166b71a50aeef]
# 
============================================================
--- packages/python/python-2.5.1/forced_largefile_support.patch	5c4a8ce05832aab0e906cf88e745d4d57ef5400b
+++ packages/python/python-2.5.1/forced_largefile_support.patch	5c4a8ce05832aab0e906cf88e745d4d57ef5400b
@@ -0,0 +1,24 @@
+diff -Naur Python-2.5.1-org/configure Python-2.5.1/configure
+--- Python-2.5.1-org/configure	2007-03-12 11:50:51.000000000 +0100
++++ Python-2.5.1/configure	2007-07-14 01:30:20.000000000 +0200
+@@ -10569,7 +10569,7 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  ac_cv_sizeof_off_t=4
++  ac_cv_sizeof_off_t=8
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+diff -Naur Python-2.5.1-org/configure.in Python-2.5.1/configure.in
+--- Python-2.5.1-org/configure.in	2007-03-12 11:50:51.000000000 +0100
++++ Python-2.5.1/configure.in	2007-07-14 01:29:32.000000000 +0200
+@@ -1223,7 +1223,7 @@
+ }],
+ ac_cv_sizeof_off_t=`cat conftestval`,
+ ac_cv_sizeof_off_t=0,
+-ac_cv_sizeof_off_t=4)
++ac_cv_sizeof_off_t=8)
+ ])
+ AC_MSG_RESULT($ac_cv_sizeof_off_t)
+ AC_DEFINE_UNQUOTED(SIZEOF_OFF_T, $ac_cv_sizeof_off_t,
============================================================
--- packages/python/python_2.5.1.bb	6b19eade825ab32f239414c5250d1013e2cbf3ab
+++ packages/python/python_2.5.1.bb	bc9fa97e447b42bca1cc1d8ef80166b71a50aeef
@@ -5,7 +5,7 @@ DEPENDS = "python-native readline zlib g
 PRIORITY = "optional"
 MAINTAINER = "Michael 'Mickey' Lauer <mickey at Vanille.de>"
 DEPENDS = "python-native readline zlib gdbm openssl"
-PR = "ml0"
+PR = "ml1"
 
 PYTHON_MAJMIN = "2.5"
 
@@ -15,6 +15,9 @@ SRC_URI = "http://www.python.org/ftp/pyt
 	   file://build-native-md5-sha.patch;patch=1 \
 	   file://fix-tkinter-detection.patch;patch=1 \
 	   file://some_configure_fixes.patch;patch=1;pnum=0"
+
+SRC_URI_append_opendreambox = " file://forced_largefile_support.patch;patch=1;pnum=1"
+
 S = "${WORKDIR}/Python-${PV}"
 
 inherit autotools






More information about the Openembedded-commits mailing list