package libreoffice-voikko tags 652297 patch thanks Hi,
here's a patch to fix the bug. -Timo
diff -Nru libreoffice-voikko-3.2/debian/changelog libreoffice-voikko-3.2/debian/changelog --- libreoffice-voikko-3.2/debian/changelog 2011-04-06 13:11:11.000000000 +0300 +++ libreoffice-voikko-3.2/debian/changelog 2011-12-16 20:43:11.000000000 +0200 @@ -1,3 +1,9 @@ +libreoffice-voikko (3.2-2lindi1) UNRELEASED; urgency=low + + * Ensure that DEB_BUILD_OPTIONS=noopt works. + + -- Timo Juhani Lindfors <[email protected]> Fri, 16 Dec 2011 20:42:27 +0200 + libreoffice-voikko (3.2-2) unstable; urgency=low * Remove the transitional package, already provided by OOo diff -Nru libreoffice-voikko-3.2/debian/patches/debug libreoffice-voikko-3.2/debian/patches/debug --- libreoffice-voikko-3.2/debian/patches/debug 1970-01-01 02:00:00.000000000 +0200 +++ libreoffice-voikko-3.2/debian/patches/debug 2011-12-16 21:08:40.000000000 +0200 @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -34,7 +34,7 @@ + # package. Possible values are NO (creates an optimized build without any + # debugging information), LOG (creates an optimized build with runtime debug + # logging) and FULL (creates a build with full debugging symbols and logging). +-VOIKKO_DEBUG=NO ++VOIKKO_DEBUG=?NO + + # If you have installed libvoikko to some non-standard location, uncomment the + # following and adjust the path accordingly. For OS X this must be set if diff -Nru libreoffice-voikko-3.2/debian/patches/series libreoffice-voikko-3.2/debian/patches/series --- libreoffice-voikko-3.2/debian/patches/series 1970-01-01 02:00:00.000000000 +0200 +++ libreoffice-voikko-3.2/debian/patches/series 2011-12-16 21:08:01.000000000 +0200 @@ -0,0 +1 @@ +debug diff -Nru libreoffice-voikko-3.2/debian/rules libreoffice-voikko-3.2/debian/rules --- libreoffice-voikko-3.2/debian/rules 2011-02-05 11:02:03.000000000 +0200 +++ libreoffice-voikko-3.2/debian/rules 2011-12-16 20:59:40.000000000 +0200 @@ -3,15 +3,15 @@ CC_FLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CC_FLAGS += -O0 + VOIKKO_DEBUG = FULL else - CC_FLAGS += -O2 + VOIKKO_DEBUG = NO endif build: build-stamp build-stamp: dh_testdir - sh -c ". /usr/lib/libreoffice/basis-link/sdk/setsdkenv_unix.sh && $(MAKE) oxt" + sh -c ". /usr/lib/libreoffice/basis-link/sdk/setsdkenv_unix.sh && $(MAKE) VOIKKO_DEBUG=$(VOIKKO_DEBUG) oxt" touch build-stamp clean:

