Commit 4cdb6ab1 authored by Jerome Benoit's avatar Jerome Benoit

Imported Debian patch 1.0+ds-6: #841636 workaround

parent 6645215b
apophenia (1.0+ds-6) unstable; urgency=medium
* FTBFS fix release:
- d/p/debianization-bug-[DebianBug_..]-mysql_config.patch, add meterial
to workaround bug #841636.
-- Jerome Benoit <calculus@rezozer.net> Mon, 19 Dec 2016 04:56:39 +0000
apophenia (1.0+ds-5) unstable; urgency=medium
* Bug fix release, effectively disable extended tests (Closes: #847699).
......
Description: debianization -- workaround around bugs
Meant to workaround bugs #597187 and #757967
Meant to workaround bugs #597187, #757967 and 841636
Origin: debian
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2015-07-10
Last-Update: 2016-12-19
--- a/configure.ac
+++ b/configure.ac
......@@ -10,8 +10,8 @@ Last-Update: 2015-07-10
## Debian package version
DEB_PKG_VERSION=$(dpkg-parsechangelog -S Version)
AC_SUBST(DEB_PKG_VERSION)
+## work around for bugs #597187 and #757967
+MYSQL_CFLAGS=$(echo "${MYSQL_CFLAGS}" | sed -e 's/-DNDEBUG//g;s/-g//g;s/-fabi-version=2//g;s/-fno-omit-frame-pointer//g;s/-fno-strict-aliasing//g;s/[ ]*$//g' | tr -s ' ')
+## work around for bugs #597187, #757967 and #841636
+MYSQL_CFLAGS=$(echo "${MYSQL_CFLAGS}" | sed -e 's/-DNDEBUG//g;s/-g//g;s/-fabi-version=2//g;s/-fno-omit-frame-pointer//g;s/-fno-strict-aliasing//g;s/[ ]*$//g;s|-fdebug-prefix-map=[0-9a-zA-Z/=\.\-]*||g' | tr -s ' ')
+MYSQL_LDFLAGS=$(echo "${MYSQL_LDFLAGS}" | sed -e 's/-lz//g;s/-lrt//g;s/-ldl//g' | tr -s ' ')
AC_CONFIG_FILES([
......
......@@ -5,5 +5,5 @@ upstream-correction-spelling-error-in-source.patch
debianization.patch
debianization-help2man.patch
debianization-documentation.patch
debianization-bug-597187_757967-mysql_config.patch
debianization-bug-597187_757967_841636-mysql_config.patch
debianization-adhoc.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment