[oe-commits] org.oe.dev packages/apache2/apache2-2.2.3: Fix wrong assuption about ptr length during configure

ifaistos commit openembedded-commits at lists.openembedded.org
Tue Feb 20 09:42:41 UTC 2007


packages/apache2/apache2-2.2.3: Fix wrong assuption about ptr length during configure 
To be able to compile you need to add ac_cv_sizeof_long_p in the site file of your arch (if not allready there)

Author: ifaistos at openembedded.org
Branch: org.openembedded.dev
Revision: 457c634a10a5558240e10c4e6e473fc02e96a234
ViewMTN: http://monotone.openembedded.org/revision.psp?id=457c634a10a5558240e10c4e6e473fc02e96a234
Files:
1
packages/apache2/apache2-2.2.3/configure-fix-cross-compile-ptr-check.patch
packages/apache2/apache2_2.2.3.bb
Diffs:

#
# mt diff -r03ed420dc43e5ebab8dca87fcc908c0cf875db8a -r457c634a10a5558240e10c4e6e473fc02e96a234
#
# 
# 
# add_file "packages/apache2/apache2-2.2.3/configure-fix-cross-compile-ptr-check.patch"
#  content [6b9c451e31a2411237c6d410773026455dd9180e]
# 
# patch "packages/apache2/apache2_2.2.3.bb"
#  from [a3e51f965bd30cee3a84175f0dfa0f3e4e2ec0b4]
#    to [7ab9278b06b65c96f6f2ec13ecc35a3c75e65517]
# 
============================================================
--- packages/apache2/apache2-2.2.3/configure-fix-cross-compile-ptr-check.patch	6b9c451e31a2411237c6d410773026455dd9180e
+++ packages/apache2/apache2-2.2.3/configure-fix-cross-compile-ptr-check.patch	6b9c451e31a2411237c6d410773026455dd9180e
@@ -0,0 +1,17 @@
+--- ./orig-configure	2007-02-20 11:05:12.000000000 +0200
++++ ./configure	2007-02-20 11:14:11.000000000 +0200
+@@ -6667,7 +6667,13 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  ap_void_ptr_lt_long=yes
++
++   if test "$ac_cv_sizeof_long_p" = "$ac_cv_sizeof_void_p"; then
++    ap_void_ptr_lt_long=no
++   else
++    ap_void_ptr_lt_long=yes
++   fi 
++
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
============================================================
--- packages/apache2/apache2_2.2.3.bb	a3e51f965bd30cee3a84175f0dfa0f3e4e2ec0b4
+++ packages/apache2/apache2_2.2.3.bb	7ab9278b06b65c96f6f2ec13ecc35a3c75e65517
@@ -1,15 +1,16 @@
+SECTION = "net"
 DESCRIPTION = "The apache v2 web server"
-SECTION = "net"
 DEPENDS = "apache2-native openssl expat pcre"
 RDEPENDS += "openssl"
 
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "http://apache.mirrors.tds.net/httpd/httpd-2.2.3.tar.bz2 \
 	   file://dftables-makefile-patch;patch=1 \
 	   file://apr-sockets-patch;patch=1 \
 	   file://configure-patch;patch=1 \
-	   file://server-makefile-patch;patch=1"
+	   file://server-makefile-patch;patch=1 \
+           file://configure-fix-cross-compile-ptr-check.patch;patch=1"
 
 #
 # over-ride needed since apache unpacks into httpd






More information about the Openembedded-commits mailing list