#! /bin/sh /usr/share/dpatch/dpatch-run ## Description: fix build with ld --as-needed ## uim-counted-init is a static library which needs symbols from libuim ## which it must be placed behind it on the command line so it is not ## dropped by ld --as-needed ## Author: Julian Taylor ## Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/uim/+bug/832939 ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' uim~/qt4/pref/uim-pref-qt4.pro.in uim/qt4/pref/uim-pref-qt4.pro.in --- uim~/qt4/pref/uim-pref-qt4.pro.in 2011-08-25 23:11:35.000000000 +0200 +++ uim/qt4/pref/uim-pref-qt4.pro.in 2011-08-25 23:12:14.270555741 +0200 @@ -8,7 +8,7 @@ QMAKE_LIBDIR += @abs_top_builddir@/replace QMAKE_LIBDIR += @abs_top_builddir@/uim/.libs QMAKE_LIBDIR += @abs_top_builddir@/replace/.libs -LIBS += -lreplace -luim -luim-scm -luim-x-util -luim-custom -luim-counted-init +LIBS += -lreplace -luim-scm -luim-x-util -luim-custom -luim-counted-init -luim QMAKE_CFLAGS_DEBUG += @CFLAGS@ @X_CFLAGS@ QMAKE_CFLAGS_RELEASE += @CFLAGS@ @X_CFLAGS@