~otto/maria/5.5.37-0ubuntu0.14.04.1

« back to all changes in this revision

Viewing changes to debian/patches/44_scripts__mysql_config__libs.dpatch

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen, Otto Kekäläinen, James Page
  • Date: 2013-12-22 10:28:14 UTC
  • Revision ID: package-import@ubuntu.com-20131222102814-dvryvsdyl8m3u2az
Tags: 5.5.32-1
[ Otto Kekäläinen ]
* Initial package for Debian (Closes: #565308), based on upstream
  packaging:
  - mariadb-5.3 by Sergei Golubchik
  - mariadb-5.2 by Kristian Nielsen
  - mariadb-5.1 by Peter Lieverdink
* Bring packaging up-to-date inline with mysql-5.5 packaging.
* Refine control file and tidy lintian warnings
* Rename libmysqlclient18 -> libmariadbclient18.
* Add suitable Breaks/Replaces/Provides to support migration
  to/from mysql-server-5.5.
* Plus multiple other updates based on feedback from Debian maintainers

[ James Page ]
* d/control,rules: Cherry picked fix from mysql-5.5 packaging to disable
  x86 assembler in taocrypt on i386 architectures, removing need for
  gcc-4.4 dependency.
* d/control: Add myself to uploaders.
* d/control: Update Vcs fields for new location on git.debian.org.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 99-unnamed.dpatch by  <ch@debian.org>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: Removes unnecessary library dependencies. See #390692
6
 
 
7
 
@DPATCH@
8
 
diff -Nur mysql-dfsg-5.1-5.1.31.orig/scripts/mysql_config.sh mysql-dfsg-5.1-5.1.31/scripts/mysql_config.sh
9
 
--- mysql-dfsg-5.1-5.1.31.orig/scripts/mysql_config.sh  2009-01-19 17:30:55.000000000 +0100
10
 
+++ mysql-dfsg-5.1-5.1.31/scripts/mysql_config.sh       2009-02-08 17:17:48.000000000 +0100
11
 
@@ -110,10 +110,10 @@
12
 
 
13
 
 # Create options 
14
 
 # We intentionally add a space to the beginning and end of lib strings, simplifies replace later
15
 
-libs=" $ldflags -L$pkglibdir -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
16
 
+libs=" $ldflags -L$pkglibdir -lmysqlclient"
17
 
 libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
18
 
-libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ "
19
 
-embedded_libs=" $ldflags -L$pkglibdir -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ "
20
 
+libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @CLIENT_LIBS@ @openssl_libs@ "
21
 
+embedded_libs=" $ldflags -L$pkglibdir -lmysqld @LIBDL@ @WRAPLIBS@ @openssl_libs@ "
22
 
 
23
 
 if [ -r "$pkglibdir/libmygcc.a" ]; then
24
 
   # When linking against the static library with a different version of GCC