diff -pruN 1.6.0-4/debian/changelog 1.6.0-4ubuntu1/debian/changelog
--- 1.6.0-4/debian/changelog	2010-07-25 14:14:09.000000000 +0100
+++ 1.6.0-4ubuntu1/debian/changelog	2011-02-12 16:28:29.000000000 +0000
@@ -1,3 +1,9 @@
+lipsia (1.6.0-4ubuntu1) natty; urgency=low
+
+  * Fix linking FTBFS with --no-add-needed.
+
+ -- Ilya Barygin <barygin@gmail.com>  Sat, 12 Feb 2011 19:28:13 +0300
+
 lipsia (1.6.0-4) unstable; urgency=low
 
   * Fix typos in package description (Closes: #565657). Thanks to
diff -pruN 1.6.0-4/debian/control 1.6.0-4ubuntu1/debian/control
--- 1.6.0-4/debian/control	2010-07-25 14:14:09.000000000 +0100
+++ 1.6.0-4ubuntu1/debian/control	2011-02-12 16:27:25.000000000 +0000
@@ -1,7 +1,8 @@
 Source: lipsia
 Section: science
 Priority: optional
-Maintainer: NeuroDebian Team <team@neuro.debian.net>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: NeuroDebian Team <team@neuro.debian.net>
 Uploaders: Michael Hanke <michael.hanke@gmail.com>, Yaroslav Halchenko <debian@onerussian.com>
 Build-Depends: debhelper (>= 7.0.50~), cmake, fftw3-dev, libdcmtk1-dev, libgsl0-dev, libqt3-compat-headers, libqt3-mt-dev, libnifti-dev, libvia-dev (>= 1.4.1)
 Standards-Version: 3.8.3.0
@@ -10,7 +11,6 @@ Vcs-Browser: http://git.debian.org/?p=de
 Vcs-Git: git://git.debian.org/git/debian-med/lipsia.git
 XS-DM-Upload-Allowed: yes
 
-
 Package: lipsia
 Section: science
 Architecture: any
@@ -33,7 +33,6 @@ Description: analysis suite for MRI and 
  package contains converters for medical image data in iBruker, ANALYZE  and
  NIfTI format -- converting VISTA images into NIfTI files is also supported.
 
-
 Package: lipsia-doc
 Section: doc
 Architecture: all
diff -pruN 1.6.0-4/debian/patches/no-add-needed 1.6.0-4ubuntu1/debian/patches/no-add-needed
--- 1.6.0-4/debian/patches/no-add-needed	1970-01-01 01:00:00.000000000 +0100
+++ 1.6.0-4ubuntu1/debian/patches/no-add-needed	2011-02-12 16:26:45.000000000 +0000
@@ -0,0 +1,16 @@
+Description: Change order of libraries for correct linking with 
+ --no-add-needed.
+Author: Ilya Barygin <barygin@gmail.com>
+--- lipsia-1.6.0.orig/src/dictov/CMakeLists.txt
++++ lipsia-1.6.0/src/dictov/CMakeLists.txt
+@@ -19,9 +19,9 @@ SET(DCMTK_LIBS
+ SET(LIBS
+   lipsia					# should be done by a FindPackage script
+   m
+-  ${ZLIB_LIBRARIES}
+   ${GSL_GSL_LIBRARY}
+   ${DCMTK_LIBS}
++  ${ZLIB_LIBRARIES}
+   ${VIA_LIBRARY}
+   ${VIAIO_LIBRARY})
+ 
diff -pruN 1.6.0-4/debian/patches/series 1.6.0-4ubuntu1/debian/patches/series
--- 1.6.0-4/debian/patches/series	2010-07-21 21:06:06.000000000 +0100
+++ 1.6.0-4ubuntu1/debian/patches/series	2011-02-12 16:25:21.000000000 +0000
@@ -1 +1,2 @@
 various_fixes
+no-add-needed
diff -pruN 1.6.0-4/.pc/applied-patches 1.6.0-4ubuntu1/.pc/applied-patches
--- 1.6.0-4/.pc/applied-patches	2011-02-12 19:49:02.000000000 +0000
+++ 1.6.0-4ubuntu1/.pc/applied-patches	2011-02-12 19:42:55.000000000 +0000
@@ -1 +1,2 @@
 various_fixes
+no-add-needed
diff -pruN 1.6.0-4/.pc/no-add-needed/src/dictov/CMakeLists.txt 1.6.0-4ubuntu1/.pc/no-add-needed/src/dictov/CMakeLists.txt
--- 1.6.0-4/.pc/no-add-needed/src/dictov/CMakeLists.txt	1970-01-01 01:00:00.000000000 +0100
+++ 1.6.0-4ubuntu1/.pc/no-add-needed/src/dictov/CMakeLists.txt	2009-06-26 08:43:59.000000000 +0100
@@ -0,0 +1,38 @@
+# dictov
+#
+# CMakeLists.txt
+# Author: Thomas Proeger
+
+PROJECT(dictov)
+
+# project specific variables
+SET (SOURCES 
+  NormVals.c
+  dictov.C
+)
+
+SET(DCMTK_LIBS
+  ${DCMTK_DCMDATA_LIBRARY}
+  ${DCMTK_OFSTD_LIBRARY}
+  pthread)
+
+SET(LIBS
+  lipsia					# should be done by a FindPackage script
+  m
+  ${ZLIB_LIBRARIES}
+  ${GSL_GSL_LIBRARY}
+  ${DCMTK_LIBS}
+  ${VIA_LIBRARY}
+  ${VIAIO_LIBRARY})
+
+ADD_EXECUTABLE(dictov ${SOURCES})
+
+SET_TARGET_PROPERTIES(dictov
+    PROPERTIES COMPILE_FLAGS -ansi
+    LINK_FLAGS -Wl)
+
+TARGET_LINK_LIBRARIES(dictov ${LIBS})
+
+INSTALL(TARGETS dictov
+        RUNTIME DESTINATION ${LIPSIA_INSTALL_BIN_DIR}
+        COMPONENT RuntimeLibraries)
diff -pruN 1.6.0-4/src/dictov/CMakeLists.txt 1.6.0-4ubuntu1/src/dictov/CMakeLists.txt
--- 1.6.0-4/src/dictov/CMakeLists.txt	2009-06-26 08:43:59.000000000 +0100
+++ 1.6.0-4ubuntu1/src/dictov/CMakeLists.txt	2011-02-12 19:42:55.000000000 +0000
@@ -19,9 +19,9 @@ SET(DCMTK_LIBS
 SET(LIBS
   lipsia					# should be done by a FindPackage script
   m
-  ${ZLIB_LIBRARIES}
   ${GSL_GSL_LIBRARY}
   ${DCMTK_LIBS}
+  ${ZLIB_LIBRARIES}
   ${VIA_LIBRARY}
   ${VIAIO_LIBRARY})
 
