Package: xmltooling Version: 1.3.3-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty ubuntu-patch User: debian-...@lists.debian.org Usertags: ld-as-needed
Hello, here is a patch to fix the FTBFS in Ubuntu with ld --as-needed before it gets lost in the archives of debian-devel (http://lists.debian.org/debian-devel/2010/12/msg00090.html). Michael
--- xmltooling-1.3.3.orig/configure +++ xmltooling-1.3.3/configure @@ -23030,7 +23030,7 @@ fi; if test -f "${LOG4SHIB_CONFIG}"; then - LDFLAGS="`${LOG4SHIB_CONFIG} --libs` $LDFLAGS" + LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS" CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS" if test "${ac_cv_header_log4shib_CategoryStream_hh+set}" = set; then @@ -23292,7 +23292,7 @@ if test -f "${LOG4CPP_CONFIG}"; then { echo "$as_me:$LINENO: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5 echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;} - LDFLAGS="`${LOG4CPP_CONFIG} --libs` $LDFLAGS" + LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS" CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS" if test "${ac_cv_header_log4cpp_CategoryStream_hh+set}" = set; then echo "$as_me:$LINENO: checking for log4cpp/CategoryStream.hh" >&5 --- xmltooling-1.3.3.orig/configure.ac +++ xmltooling-1.3.3/configure.ac @@ -105,7 +105,7 @@ fi ]) if test -f "${LOG4SHIB_CONFIG}"; then - LDFLAGS="`${LOG4SHIB_CONFIG} --libs` $LDFLAGS" + LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS" CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS" AC_CHECK_HEADER([log4shib/CategoryStream.hh],,AC_MSG_ERROR([unable to find log4shib header files])) AC_TRY_LINK( @@ -130,7 +130,7 @@ ]) if test -f "${LOG4CPP_CONFIG}"; then AC_MSG_WARN([will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe]) - LDFLAGS="`${LOG4CPP_CONFIG} --libs` $LDFLAGS" + LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS" CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS" AC_CHECK_HEADER([log4cpp/CategoryStream.hh],,AC_MSG_ERROR([unable to find log4cpp header files])) AC_TRY_LINK(