Package: apache2
Version: 2.0.53-5+kbsd
Severity: wishlist
Tags: patch

Hi!

libapr is built without -D_REENTRANT on GNU/kFreeBSD.  The attached patch fixes
the problem, please could you forward it to upstream?

Thanks

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)
Kernel: GNU/kFreeBSD 5.3-5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages apache2 depends on:
ii  apache2-mpm-worker         2.0.53-5+kbsd high speed threaded model for Apac

-- no debconf information
--- httpd-2.0.53/srclib/apr/build/apr_hints.m4~ 2004-11-25 00:10:04.000000000 
+0100
+++ httpd-2.0.53/srclib/apr/build/apr_hints.m4  2005-03-24 21:11:37.000000000 
+0100
@@ -101,11 +101,11 @@
     *-hp-hpux*)
        APR_ADDTO(CPPFLAGS, [-DHPUX -D_REENTRANT])
        ;;
-    *-linux-*)
-        case `uname -r` in
-           2.* )  APR_ADDTO(CPPFLAGS, [-DLINUX=2])
+    *-linux*-gnu | *-k*bsd*-gnu)
+        case $host:`uname -r` in
+           *-linux*:2.* )  APR_ADDTO(CPPFLAGS, [-DLINUX=2])
                   ;;
-           1.* )  APR_ADDTO(CPPFLAGS, [-DLINUX=1])
+           *-linux*:1.* )  APR_ADDTO(CPPFLAGS, [-DLINUX=1])
                   ;;
            * )
                   ;;

Reply via email to