[libmspub] 01/01: build with -DUCHAR_TYPE=uint16_t with ICU 59

Rene Engelhard rene at moszumanska.debian.org
Thu May 25 20:09:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch experimental
in repository libmspub.

commit 98821de1fed7dd36eefa61e288b85d31447c10af
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Thu May 25 22:09:32 2017 +0200

    build with -DUCHAR_TYPE=uint16_t with ICU 59
---
 debian/changelog | 6 ++++++
 debian/rules     | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ae2bf42..100f4ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libmspub (0.1.2-5) UNRELEASED; urgency=medium
+
+  * build with -DUCHAR_TYPE=uint16_t with ICU 59
+
+ -- Rene Engelhard <rene at debian.org>  Thu, 25 May 2017 21:56:01 +0200
+
 libmspub (0.1.2-4) unstable; urgency=medium
 
   * [511ffdd] add missing libicu-dev and zlib1g-dev to libmspub-devs Depends:
diff --git a/debian/rules b/debian/rules
index be92237..ef4f545 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# see https://cgit.freedesktop.org/libreoffice/core/commit/?id=fabad007c60958f2ff87e8f636ff6a798ad1f963 
+ifeq "$(shell dpkg --compare-versions `icu-config --version` ge 59 && echo true)" "true"
+	export DEB_CXXFLAGS_MAINT_APPEND := -DUCHAR_TYPE=uint16_t
+endif
+export DPKG_EXPORT_BUILDFLAGS=y 
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@ --with autoreconf
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libmspub.git



More information about the Pkg-openoffice-commits mailing list