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

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


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

rene pushed a commit to branch experimental
in repository libfreehand.

commit 94b4f5e7e4146b1ec2b03f49052b46fc68005813
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Thu May 25 22:09:31 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 38f5656..734e9f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libfreehand (0.1.1-3) 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
+
 libfreehand (0.1.1-2) unstable; urgency=medium
 
   * [43e8c1e] move Maintainer: to Debian LibreOffice Maintainers
diff --git a/debian/rules b/debian/rules
index 6f80333..3a55f71 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/libfreehand.git



More information about the Pkg-openoffice-commits mailing list