Package: elmerfem
Version: 5.5.0.svn.4214.dfsg-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hi,

This package needed some adaptation to build fine with python 2.6.

Here is the patch that we applied in Ubuntu to fix the FTBFS with python2.6.

Thanks,
Fabrice


*** /tmp/tmpTWxqAF
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/ElmerGUI-python2.6.patch: fix ElmerGUI/ElmerGUI.pri to use 
    python2.6. This fix a FTBFS (LP: #403333)

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-13-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u elmerfem-5.5.0.svn.4214.dfsg/debian/patches/series elmerfem-5.5.0.svn.4214.dfsg/debian/patches/series
--- elmerfem-5.5.0.svn.4214.dfsg/debian/patches/series
+++ elmerfem-5.5.0.svn.4214.dfsg/debian/patches/series
@@ -7,0 +8 @@
+ElmerGUI-python2.6.patch
only in patch2:
unchanged:
--- elmerfem-5.5.0.svn.4214.dfsg.orig/debian/patches/ElmerGUI-python2.6.patch
+++ elmerfem-5.5.0.svn.4214.dfsg/debian/patches/ElmerGUI-python2.6.patch
@@ -0,0 +1,16 @@
+Index: elmerfem-5.5.0.svn.4214.dfsg/ElmerGUI/ElmerGUI.pri
+===================================================================
+--- elmerfem-5.5.0.svn.4214.dfsg.orig/ElmerGUI/ElmerGUI.pri	2009-07-23 05:03:27.000000000 +0000
++++ elmerfem-5.5.0.svn.4214.dfsg/ElmerGUI/ElmerGUI.pri	2009-07-23 05:04:07.000000000 +0000
+@@ -36,9 +36,9 @@
+ # Python library:
+ #------------------------------------------------------------------------------
+ unix {
+-   PY_INCLUDEPATH = /usr/include/python2.5
++   PY_INCLUDEPATH = /usr/include/python2.6
+    PY_LIBPATH = /usr/lib
+-   PY_LIBS = -lpython2.5
++   PY_LIBS = -lpython2.6
+ }
+ 
+ win32 {

Reply via email to