[fplll] 06/08: Added a patch to fix the pkgconfig file

Julien Puydt julien.puydt at laposte.net
Tue Aug 23 12:27:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository fplll.

commit 08bcf6c6f03c19f6ea0e7aad638ec3886e85eebb
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Aug 23 13:03:24 2016 +0200

    Added a patch to fix the pkgconfig file
---
 debian/changelog               |  1 +
 debian/patches/pkgconfig.patch | 15 +++++++++++++++
 debian/patches/series          |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8d9ff9f..a2212cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ fplll (5.0.0-1) UNRELEASED; urgency=medium
   * Complete d/copyright.
   * Enable all hardening options.
   * Added a patch for typos.
+  * Added a patch for the pkgconfig script.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Tue, 23 Aug 2016 08:11:04 +0200
 
diff --git a/debian/patches/pkgconfig.patch b/debian/patches/pkgconfig.patch
new file mode 100644
index 0000000..bc80389
--- /dev/null
+++ b/debian/patches/pkgconfig.patch
@@ -0,0 +1,15 @@
+Author: Julien Puydt
+Description: One isn't supposed to leak compilation flags
+Forwarded: yes
+
+diff --git a/fplll.pc.in b/fplll.pc.in
+index 4eb079f..3cd6310 100644
+--- a/fplll.pc.in
++++ b/fplll.pc.in
+@@ -6,5 +6,4 @@ includedir=@includedir@
+ Name: @PACKAGE_NAME@
+ Description: lattice algorithms with floating-point computations
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} @LDFLAGS@ @LIBQD_LIBADD@ -lgmp -lmpfr -lfplll
+-Cflags: @CXXFLAGS@
++Libs: -L${libdir} @LIBQD_LIBADD@ -lgmp -lmpfr -lfplll
diff --git a/debian/patches/series b/debian/patches/series
index 738c1cc..dc54148 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 typo.patch
+pkgconfig.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fplll.git



More information about the debian-science-commits mailing list