~ubuntu-branches/debian/sid/apophenia/sid

« back to all changes in this revision

Viewing changes to debian/patches/debianization-bug-597187_757967-mysql_config.patch

  • Committer: Package Import Robot
  • Author(s): Jerome Benoit
  • Date: 2014-09-11 12:36:28 UTC
  • Revision ID: package-import@ubuntu.com-20140911123628-4a3h0ko7fns8nq21
Tags: 0.999b+ds1-1
* Initial release (Closes: #755493).
* Debianization:
  - debian/copyright in DEP-5 format;
  - debian/control:
    - debhelper build-dep to >= 9;
    - Standards Version 3.9.5;
    - Vcs-* headers.
  - debian/source, format 3.0 (quilt);
  - debian/patches/ patches in DEP-3 format;
  - debian/watch file;
  - debian/repack, repack script to clean up and gain weight;
  - debian/rules:
    - autoreconf-iguration;
    - full and minal dh integration;
    - hardened dh_auto_clean;
    - get-orig-source uscan based target which downloads the currently
      packaged upstream tarball and repacks it;
    - default target which basically queries package status with uscan
      -- output in DEHS format;
  - gpg-signature check support, neutralize;
  - ad hoc script to build/clean the upstream source examples, provide.
* Fixes, enhancements, request for a better autotools machinery support
  (more rational, passing the `make distcheck' test, explicit gnulib
  support) and bug reports were submitted and have been integrated or
  discussed; thanks to the upstream maintainer.
* Wipe out library exit calls (shlib-calls-exit Lintian tag).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: debianization -- workaround around bugs
 
2
 Meant to workaround bugs #597187 and #757967
 
3
Origin: debian
 
4
Author: Jerome Benoit <calculus@rezozer.net>
 
5
Last-Update: 2014-08-12
 
6
 
 
7
--- a/configure.ac
 
8
+++ b/configure.ac
 
9
@@ -68,6 +68,9 @@
 
10
 ## Debian package version
 
11
 DEB_PKG_VERSION=$(dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p')
 
12
 AC_SUBST(DEB_PKG_VERSION)
 
13
+## work around for bugs #597187 and #757967
 
14
+MYSQL_CFLAGS=$(echo "${MYSQL_CFLAGS}" | sed -e 's/-DNDEBUG//' -e 's/-g//' -e 's/-fno-strict-aliasing//' -e 's/[ ]*$//')
 
15
+MYSQL_LDFLAGS=$(echo "${MYSQL_LDFLAGS}" | sed -e 's/-lz//' -e 's/-lrt//' -e 's/-ldl//' -e 's/[ ]*$//')
 
16
 
 
17
 AC_CONFIG_FILES([
 
18
        apophenia.pc