[glpk] 01/05: New patch: obtain-iodbc-cflags.patch.
Sébastien Villemot
sebastien at debian.org
Tue Apr 1 17:47:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository glpk.
commit 402736872d89b3115a90eeaa3f2082ede127048e
Author: Sébastien Villemot <sebastien at debian.org>
Date: Wed Mar 26 15:38:01 2014 +0100
New patch: obtain-iodbc-cflags.patch.
---
debian/changelog | 7 +++++++
debian/patches/obtain-iodbc-cflags.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 28 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c234dfe..d9397e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+glpk (4.53-2) unstable; urgency=medium
+
+ [ Maximiliano Curia ]
+ * New patch: obtain-iodbc-cflags.patch (Closes: #740067)
+
+ -- Sébastien Villemot <sebastien at debian.org> Wed, 26 Mar 2014 14:27:17 +0100
+
glpk (4.53-1) unstable; urgency=medium
* Imported Upstream version 4.53
diff --git a/debian/patches/obtain-iodbc-cflags.patch b/debian/patches/obtain-iodbc-cflags.patch
new file mode 100644
index 0000000..43773a6
--- /dev/null
+++ b/debian/patches/obtain-iodbc-cflags.patch
@@ -0,0 +1,20 @@
+Description: Inject compilation flags from iodbc-config
+ This has become necessary because iodbc includes are now in a custom
+ directory, so we have to retrieve the right -I flag.
+Author: Maximiliano Curia <maxy at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740067
+Forwarded: on 2014-03-26 to the bug-glpk at gnu.org list, <1395840251.11912.29.camel at rama.villemot.name>
+Reviewed-by: Sébastien Villemot <sebastien at debian.org>
+Last-Update: 2014-03-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure.ac
++++ b/configure.ac
+@@ -117,6 +117,7 @@ if test "$enable_odbc" = "yes"; then
+ AC_MSG_ERROR([--enable-odbc requires --enable-dl])
+ fi
+ AC_MSG_RESULT([yes])
++ CFLAGS="$(iodbc-config --cflags) $CFLAGS"
+ AC_DEFINE_UNQUOTED([ODBC_DLNAME], ["$LIBIODBC"], [N/A])
+ elif test "$enable_odbc" = "unix"; then
+ if test "$enable_dl" = "no"; then
diff --git a/debian/patches/series b/debian/patches/series
index ead3db0..c7a7d9a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
no-embedded-zlib.patch
no-embedded-suitesparse.patch
+obtain-iodbc-cflags.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/glpk.git
More information about the debian-science-commits
mailing list