[SCM] flac/master: Add -lflac to flac++'s pkg-config file (Closes: #713645); thanks Sebastian Ramacher.

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Mon Sep 2 12:47:10 UTC 2013


The following commit has been merged in the master branch:
commit 1f1e3c401a5f0c0abb4224f428c610e1436c0ffb
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date:   Mon Sep 2 14:48:18 2013 +0200

    Add -lflac to flac++'s pkg-config file (Closes: #713645); thanks Sebastian Ramacher.

diff --git a/debian/changelog b/debian/changelog
index 7ff762a..f6710c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+flac (1.3.0-2) unstable; urgency=low
+
+  * Add -lflac to flac++'s pkg-config file (Closes: #713645);
+    thanks Sebastian Ramacher.
+
+ -- Fabian Greffrath <fabian+debian at greffrath.com>  Mon, 02 Sep 2013 14:47:47 +0200
+
 flac (1.3.0-1) unstable; urgency=low
 
   * Imported Upstream version 1.3.0 (Closes: #527542, #705601).
diff --git a/debian/patches/requires-flac.patch b/debian/patches/requires-flac.patch
new file mode 100644
index 0000000..31acd06
--- /dev/null
+++ b/debian/patches/requires-flac.patch
@@ -0,0 +1,16 @@
+Description: Chain::Status::as_cstring uses
+ FLAC__Metadata_ChainStatusString which is in libFLAC. Since the function
+ is inline, every program calling this function must also link with -lflac,
+ but this is missing in flac++.pc.
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713645
+
+--- a/src/libFLAC++/flac++.pc.in
++++ b/src/libFLAC++/flac++.pc.in
+@@ -6,6 +6,6 @@ includedir=@includedir@
+ Name: FLAC++
+ Description: Free Lossless Audio Codec Library (C++ API)
+ Version: @VERSION@
+-Requires.private: flac
++Requires: flac
+ Libs: -L${libdir} -lFLAC++
+ Cflags: -I${includedir}
diff --git a/debian/patches/series b/debian/patches/series
index f168c1c..78eec93 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 Revert-man-Makefile-Fail-more-gracefully.patch
 0002-Add-missing-config.h-includes.patch
 0003-metaflac-Fix-local_strcat-to-terminate-string-correc.patch
+requires-flac.patch

-- 
flac packaging



More information about the pkg-multimedia-commits mailing list