From: marius a. p. <ma...@gm...> - 2017-10-30 15:04:33
|
Firebird 3.0 icu59 ubuntu related patch ---------- Forwarded message ---------- From: Adam Conrad <adc...@de...> Date: Fri, Oct 27, 2017 at 10:03 PM Subject: [pkg-firebird-general] Bug#879972: firebird3.0: FTBFS with icu59, simple workaround/patch attached To: Debian Bug Tracking System <su...@bu...> Package: firebird3.0 Version: 3.0.2.32703.ds4-11 Severity: important Tags: patch User: ubu...@li... Usertags: origin-ubuntu bionic ubuntu-patch In Ubuntu, the attached patch was applied to achieve the following: * Define UCHAR_TYPE=uint16_t to avoid C++11 and fix FTBFS with icu59. So, here's what's happening. In icu59, UChar is defined as char16_t if you're compiling a C++ project (ie: ifdef __cplusplus), but char16_t is a C++11 type. One could argue this is an ICU bug for forcing rdeps to conform to a newer C++ standard (and one could even win that argument, I imagine), but I figured working around it in firebird was the path of least resistance. My first attempt was to change the firebird build from std=gnu++98 to std=gnu++11. Don't do that. I mean, try if you want, but it does not end well. This patch just tells icu to use the same type for UChar that it used to and it seems to do the trick here. So, enjoy. ... Adam -- System Information: Debian Release: buster/sid APT prefers bionic APT policy: (500, 'bionic') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-16-lowlatency (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) _______________________________________________ pkg-firebird-general mailing list pkg...@li... http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-firebird-general |