Hi!

A colleague took upon himself to make it compile from upstream source, 
and the following patches is what he needed to make it compile. 

There seems to be a simple patch needed for the upstream code itself. 
Also, he hacked the configure script itself, not the autoconfigure. 
However, this may indicate that some of the things in there are 
redundant. Also, he did not find a solution to the 
ac_cv_lib_apr_0_apr_send thing, as you can see.

So, it is not sufficient to fix the bug, but it is a step forward.

--- configure   2005-05-26 16:26:42.000000000 +0200
+++ ../../configure     2006-11-15 14:46:21.000000000 +0100
@@ -22664,7 +22664,7 @@
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    ac_check_lib_save_LIBS=$LIBS
-LIBS="-lapr-0 `$APRC --link-ld` `$APRC --libs` $LIBS"
+LIBS="`$APRC --link-ld` `$APRC --libs` $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
  _ACEOF
@@ -22719,6 +22719,9 @@
        conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
+
+ac_cv_lib_apr_0_apr_send=yes
+
  echo "$as_me:$LINENO: result: $ac_cv_lib_apr_0_apr_send" >&5
  echo "${ECHO_T}$ac_cv_lib_apr_0_apr_send" >&6
  if test $ac_cv_lib_apr_0_apr_send = yes; then
@@ -22911,7 +22914,7 @@
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    ac_check_lib_save_LIBS=$LIBS
-LIBS="-laprutil-0 `$APUC --link-ld` `$APUC --libs` `$APRC --link-ld`
$LIBS"
+LIBS="`$APUC --link-ld` `$APUC --libs` `$APRC --link-ld` $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
  _ACEOF




--- sapi/apache2/modxslt.c      2005-07-27 12:27:57.000000000 +0200 
+++ ../../modxslt-2005072700/sapi/apache2/modxslt.c     2006-11-15
 15:36:16.000000000 +0100
@@ -84,7 +84,7 @@
  void mxslt_ap2_brigade_dump(apr_bucket_brigade * brigade) {
    apr_bucket * bucket;

-  APR_BRIGADE_FOREACH(bucket, brigade) {
+  for (bucket = APR_BRIGADE_FIRST(brigade); bucket !=
APR_BRIGADE_SENTINEL(brigade); bucket = APR_BUCKET_NEXT(bucket)) {
      printf("bucket: %08x, type: %08x, length: %d, start: %d, data:
%08x\n", (int)bucket,
            (int)bucket->type, (int)bucket->length, (int)bucket->start,
(int)bucket->data);
    }


-- 
Kjetil Kjernsmo
Information Systems Developer
Opera Software ASA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to