avant-window-navigator (0.4.0-2) 02-ftbfs-python-2.6.patch

Summary

 configure    |    2 +-
 m4/python.m4 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

#debian bug 571150 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571150
#Remove LOCALMODLIBS to remove unnecessary linking to -lssl, which cause FTBFS with python 2.6
Index: git/configure
===================================================================
--- git.orig/configure	2010-06-05 21:36:16.000000000 +0200
+++ git/configure	2010-06-05 21:37:43.000000000 +0200
@@ -12108,7 +12108,7 @@
         if test -z "$PYTHON_EXTRA_LIBS"; then
            PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
                 conf = distutils.sysconfig.get_config_var; \
-                print (conf('LOCALMODLIBS') + ' ' + conf('LIBS'))"`
+                print (conf('LIBS'))"`
         fi
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5
 $as_echo "$PYTHON_EXTRA_LIBS" >&6; }
Index: git/m4/python.m4
===================================================================
--- git.orig/m4/python.m4	2010-06-05 21:37:21.000000000 +0200
+++ git/m4/python.m4	2010-06-05 21:37:40.000000000 +0200
@@ -163,7 +163,7 @@
         if test -z "$PYTHON_EXTRA_LIBS"; then
            PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
                 conf = distutils.sysconfig.get_config_var; \
-                print (conf('LOCALMODLIBS') + ' ' + conf('LIBS'))"`
+                print (conf('LIBS'))"`
         fi
         AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
         AC_SUBST(PYTHON_EXTRA_LIBS)